diff options
Diffstat (limited to 'crates/rocie-client/src/models/unit.rs')
| -rw-r--r-- | crates/rocie-client/src/models/unit.rs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/crates/rocie-client/src/models/unit.rs b/crates/rocie-client/src/models/unit.rs index 229866d..873cb33 100644 --- a/crates/rocie-client/src/models/unit.rs +++ b/crates/rocie-client/src/models/unit.rs @@ -34,13 +34,7 @@ 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, @@ -51,3 +45,4 @@ impl Unit { } } } + |
