diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-03-19 05:41:14 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-03-19 05:41:14 +0100 |
| commit | ca5c852c5091d7923cc5b1dabf1af5581c459fd1 (patch) | |
| tree | 105a78beb6ca6074d49e1c0cdc066883518d7ea1 /crates/rocie-client/src/models/unit.rs | |
| parent | chore(LICENSES/GPL-3.0-or-later): Add (diff) | |
| download | server-ca5c852c5091d7923cc5b1dabf1af5581c459fd1.zip | |
chore(rocie-{server,client}): Format code
Diffstat (limited to 'crates/rocie-client/src/models/unit.rs')
| -rw-r--r-- | crates/rocie-client/src/models/unit.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/crates/rocie-client/src/models/unit.rs b/crates/rocie-client/src/models/unit.rs index d9e4a1f..336af0c 100644 --- a/crates/rocie-client/src/models/unit.rs +++ b/crates/rocie-client/src/models/unit.rs @@ -44,7 +44,13 @@ pub struct Unit { } impl Unit { - pub fn new(full_name_plural: String, full_name_singular: String, id: models::UnitId, short_name: String, unit_property: models::UnitPropertyId) -> Unit { + pub fn new( + full_name_plural: String, + full_name_singular: String, + id: models::UnitId, + short_name: String, + unit_property: models::UnitPropertyId, + ) -> Unit { Unit { description: None, full_name_plural, @@ -55,4 +61,3 @@ impl Unit { } } } - |
