about summary refs log tree commit diff stats
path: root/crates/rocie-client/src/models/unit_stub.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-03-19 05:41:14 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-03-19 05:41:14 +0100
commitca5c852c5091d7923cc5b1dabf1af5581c459fd1 (patch)
tree105a78beb6ca6074d49e1c0cdc066883518d7ea1 /crates/rocie-client/src/models/unit_stub.rs
parentchore(LICENSES/GPL-3.0-or-later): Add (diff)
downloadserver-ca5c852c5091d7923cc5b1dabf1af5581c459fd1.zip
chore(rocie-{server,client}): Format code
Diffstat (limited to 'crates/rocie-client/src/models/unit_stub.rs')
-rw-r--r--crates/rocie-client/src/models/unit_stub.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/crates/rocie-client/src/models/unit_stub.rs b/crates/rocie-client/src/models/unit_stub.rs
index 422c0a8..e2ed467 100644
--- a/crates/rocie-client/src/models/unit_stub.rs
+++ b/crates/rocie-client/src/models/unit_stub.rs
@@ -36,7 +36,12 @@ pub struct UnitStub {
 }
 
 impl UnitStub {
-    pub fn new(full_name_plural: String, full_name_singular: String, short_name: String, unit_property: models::UnitPropertyId) -> UnitStub {
+    pub fn new(
+        full_name_plural: String,
+        full_name_singular: String,
+        short_name: String,
+        unit_property: models::UnitPropertyId,
+    ) -> UnitStub {
         UnitStub {
             description: None,
             full_name_plural,
@@ -46,4 +51,3 @@ impl UnitStub {
         }
     }
 }
-