From ca5c852c5091d7923cc5b1dabf1af5581c459fd1 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 19 Mar 2026 05:41:14 +0100 Subject: chore(rocie-{server,client}): Format code --- crates/rocie-client/src/models/product.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'crates/rocie-client/src/models/product.rs') diff --git a/crates/rocie-client/src/models/product.rs b/crates/rocie-client/src/models/product.rs index 3b17625..c612567 100644 --- a/crates/rocie-client/src/models/product.rs +++ b/crates/rocie-client/src/models/product.rs @@ -46,7 +46,12 @@ pub struct Product { impl Product { /// The base of rocie. Products can be bought and consumed and represent, what you actually have in storage. Not every product is bought, as some can also be obtained by cooking a recipe. - pub fn new(associated_bar_codes: Vec, id: models::ProductId, name: String, unit_property: models::UnitPropertyId) -> Product { + pub fn new( + associated_bar_codes: Vec, + id: models::ProductId, + name: String, + unit_property: models::UnitPropertyId, + ) -> Product { Product { associated_bar_codes, description: None, @@ -57,4 +62,3 @@ impl Product { } } } - -- cgit 1.4.1