Skip to content

Commit 292cd34

Browse files
author
Paolo Tranquilli
committed
Rust: fix format
1 parent e37a24a commit 292cd34

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

rust/ast-generator/src/main.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,10 +308,7 @@ fn get_fields(node: &AstNodeSrc) -> Vec<FieldInfo> {
308308
Cardinality::Many => FieldType::List(ty.clone()),
309309
},
310310
};
311-
result.push(FieldInfo {
312-
name,
313-
ty,
314-
});
311+
result.push(FieldInfo { name, ty });
315312
}
316313
for trait_ in &node.traits {
317314
match trait_.as_str() {

0 commit comments

Comments
 (0)