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/cooklang_recipe.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'crates/rocie-client/src/models/cooklang_recipe.rs') diff --git a/crates/rocie-client/src/models/cooklang_recipe.rs b/crates/rocie-client/src/models/cooklang_recipe.rs index f517566..5127ff1 100644 --- a/crates/rocie-client/src/models/cooklang_recipe.rs +++ b/crates/rocie-client/src/models/cooklang_recipe.rs @@ -43,7 +43,13 @@ pub struct CooklangRecipe { impl CooklangRecipe { /// A complete recipe The recipes do not have a name. You give it externally or maybe use some metadata key. The recipe returned from parsing is a [`ScalableRecipe`]. The difference between [`ScalableRecipe`] and [`ScaledRecipe`] is in the values of the quantities of ingredients, cookware and timers. The parser returns [`ScalableValue`]s and after scaling, these are converted to regular [`Value`]s. - pub fn new(cookware: Vec, ingredients: Vec, metadata: models::Metadata, sections: Vec, timers: Vec) -> CooklangRecipe { + pub fn new( + cookware: Vec, + ingredients: Vec, + metadata: models::Metadata, + sections: Vec, + timers: Vec, + ) -> CooklangRecipe { CooklangRecipe { cookware, ingredients, @@ -53,4 +59,3 @@ impl CooklangRecipe { } } } - -- cgit 1.4.1