mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: fix format
This commit is contained in:
@@ -308,10 +308,7 @@ fn get_fields(node: &AstNodeSrc) -> Vec<FieldInfo> {
|
||||
Cardinality::Many => FieldType::List(ty.clone()),
|
||||
},
|
||||
};
|
||||
result.push(FieldInfo {
|
||||
name,
|
||||
ty,
|
||||
});
|
||||
result.push(FieldInfo { name, ty });
|
||||
}
|
||||
for trait_ in &node.traits {
|
||||
match trait_.as_str() {
|
||||
|
||||
Reference in New Issue
Block a user