aboutsummaryrefslogtreecommitdiff
path: root/crates/whirl_server/src/cmd/structure.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/whirl_server/src/cmd/structure.rs')
-rw-r--r--crates/whirl_server/src/cmd/structure.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/crates/whirl_server/src/cmd/structure.rs b/crates/whirl_server/src/cmd/structure.rs
index 82cb226..54d47ed 100644
--- a/crates/whirl_server/src/cmd/structure.rs
+++ b/crates/whirl_server/src/cmd/structure.rs
@@ -45,12 +45,5 @@ impl Command {
}
}
impl Default for Command {
- fn default() -> Self {
- Self {
- length: 0,
- obj_id: 0,
- id: 0,
- body: vec![],
- }
- }
+ fn default() -> Self { Self { length: 0, obj_id: 0, id: 0, body: vec![] } }
}