From ba3c1172f3786db3142efe39c6df6b5b1b9f104e Mon Sep 17 00:00:00 2001 From: Nasr Date: Tue, 5 Nov 2024 13:16:18 -0500 Subject: [PATCH] fmt --- crates/dojo/bindgen/src/plugins/unity/mod.rs | 21 +++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/crates/dojo/bindgen/src/plugins/unity/mod.rs b/crates/dojo/bindgen/src/plugins/unity/mod.rs index 61a1ef1a33..22477e2c2d 100644 --- a/crates/dojo/bindgen/src/plugins/unity/mod.rs +++ b/crates/dojo/bindgen/src/plugins/unity/mod.rs @@ -344,15 +344,18 @@ public class {}_{} : ModelInstance {{ true, enum_variant, )], - CompositeType::Unknown if t.type_name() == "U256" => vec![( - format!("new FieldElement({}.high).Inner", arg_name), - false, - enum_variant.clone(), - ), ( - format!("new FieldElement({}.low).Inner", arg_name), - false, - enum_variant, - )], + CompositeType::Unknown if t.type_name() == "U256" => vec![ + ( + format!("new FieldElement({}.high).Inner", arg_name), + false, + enum_variant.clone(), + ), + ( + format!("new FieldElement({}.low).Inner", arg_name), + false, + enum_variant, + ), + ], CompositeType::Struct => { let mut tokens = vec![]; t.inners.iter().for_each(|f| {