summaryrefslogtreecommitdiff
path: root/engine/src/opengl/currently_bound.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-10-26 21:05:34 +0200
committerHampusM <hampus@hampusmat.com>2023-10-26 21:05:34 +0200
commiteab619bd5cfc520d3962097d16582eae6977d6dc (patch)
treec5a6ab322f33d452733bac233c631eb6a4fbcef9 /engine/src/opengl/currently_bound.rs
parent76a3a021402e05823e1f82fd592c853a4a6be563 (diff)
style: increase max struct literal width to 36
Diffstat (limited to 'engine/src/opengl/currently_bound.rs')
-rw-r--r--engine/src/opengl/currently_bound.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/src/opengl/currently_bound.rs b/engine/src/opengl/currently_bound.rs
index eefa239..be01841 100644
--- a/engine/src/opengl/currently_bound.rs
+++ b/engine/src/opengl/currently_bound.rs
@@ -15,8 +15,6 @@ impl<'token, Object> CurrentlyBound<'token, Object>
#[must_use]
pub unsafe fn new() -> Self
{
- Self {
- _token: PhantomData,
- }
+ Self { _token: PhantomData }
}
}