about summary refs log tree commit diff stats
path: root/crates/rocie-client/src/models/content_one_of.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/rocie-client/src/models/content_one_of.rs')
-rw-r--r--crates/rocie-client/src/models/content_one_of.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/rocie-client/src/models/content_one_of.rs b/crates/rocie-client/src/models/content_one_of.rs
index fe28b38..31dcd9c 100644
--- a/crates/rocie-client/src/models/content_one_of.rs
+++ b/crates/rocie-client/src/models/content_one_of.rs
@@ -32,9 +32,6 @@ pub struct ContentOneOf {
 impl ContentOneOf {
     /// A step
     pub fn new(step: models::Step) -> ContentOneOf {
-        ContentOneOf {
-            step,
-        }
+        ContentOneOf { step }
     }
 }
-