about summary refs log tree commit diff stats
path: root/crates/rocie-client/src/models/ingredient_one_of_2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/rocie-client/src/models/ingredient_one_of_2.rs')
-rw-r--r--crates/rocie-client/src/models/ingredient_one_of_2.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/rocie-client/src/models/ingredient_one_of_2.rs b/crates/rocie-client/src/models/ingredient_one_of_2.rs
index f83d3b5..12e270a 100644
--- a/crates/rocie-client/src/models/ingredient_one_of_2.rs
+++ b/crates/rocie-client/src/models/ingredient_one_of_2.rs
@@ -31,9 +31,6 @@ pub struct IngredientOneOf2 {
 impl IngredientOneOf2 {
     /// This ingredient is a reference to another recipe.
     pub fn new(recipe_reference: models::IngredientOneOf2RecipeReference) -> IngredientOneOf2 {
-        IngredientOneOf2 {
-            recipe_reference,
-        }
+        IngredientOneOf2 { recipe_reference }
     }
 }
-