about summary refs log tree commit diff stats
path: root/crates/rocie-client/src/models/product_amount.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-12-09 13:12:31 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-12-09 13:12:31 +0100
commit7565c34d69ee259fef3ac9813d689d97689a6d58 (patch)
treeee4f00e3d090ec288d481cc92781e55637619824 /crates/rocie-client/src/models/product_amount.rs
parentfeat(rocie-server): Implement basic user handling and authentication (diff)
downloadserver-7565c34d69ee259fef3ac9813d689d97689a6d58.zip
style(rocie-client): Format
Diffstat (limited to 'crates/rocie-client/src/models/product_amount.rs')
-rw-r--r--crates/rocie-client/src/models/product_amount.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/crates/rocie-client/src/models/product_amount.rs b/crates/rocie-client/src/models/product_amount.rs
index 43ab725..66e967b 100644
--- a/crates/rocie-client/src/models/product_amount.rs
+++ b/crates/rocie-client/src/models/product_amount.rs
@@ -21,10 +21,6 @@ pub struct ProductAmount {
 
 impl ProductAmount {
     pub fn new(amount: models::UnitAmount, product_id: models::ProductId) -> ProductAmount {
-        ProductAmount {
-            amount,
-            product_id,
-        }
+        ProductAmount { amount, product_id }
     }
 }
-