summaryrefslogtreecommitdiff
path: root/engine/src/object.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine/src/object.rs')
-rw-r--r--engine/src/object.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/engine/src/object.rs b/engine/src/object.rs
index 9952c5f..dffd240 100644
--- a/engine/src/object.rs
+++ b/engine/src/object.rs
@@ -62,11 +62,7 @@ impl Object
let transform = Transform::new();
- Ok(Self {
- id,
- renderable,
- transform,
- })
+ Ok(Self { id, renderable, transform })
}
/// Returns the object ID.