Skip to content

Commit 05965ca

Browse files
committed
yeast-schema: Apply rustfmt formatting
1 parent 9a0c26b commit 05965ca

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

‎shared/yeast-schema/src/schema.rs‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -279,13 +279,8 @@ impl Schema {
279279
.insert((parent_kind.to_string(), field_id), node_types);
280280
}
281281

282-
pub fn field_types(
283-
&self,
284-
parent_kind: &str,
285-
field_id: FieldId,
286-
) -> Option<&Vec<NodeType>> {
287-
self.field_types
288-
.get(&(parent_kind.to_string(), field_id))
282+
pub fn field_types(&self, parent_kind: &str, field_id: FieldId) -> Option<&Vec<NodeType>> {
283+
self.field_types.get(&(parent_kind.to_string(), field_id))
289284
}
290285

291286
/// Record the declared (named) field order for a node kind, as authored in

0 commit comments

Comments
 (0)