summaryrefslogtreecommitdiff
path: root/engine/src/vertex.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/vertex.rs
parent76a3a021402e05823e1f82fd592c853a4a6be563 (diff)
style: increase max struct literal width to 36
Diffstat (limited to 'engine/src/vertex.rs')
-rw-r--r--engine/src/vertex.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/engine/src/vertex.rs b/engine/src/vertex.rs
index e03eacb..592353a 100644
--- a/engine/src/vertex.rs
+++ b/engine/src/vertex.rs
@@ -23,10 +23,7 @@ impl Builder
#[must_use]
pub fn new() -> Self
{
- Self {
- pos: None,
- color: None,
- }
+ Self { pos: None, color: None }
}
#[must_use]