Skip to content

Commit

Permalink
clippy: prefer unwrap_or_default()
Browse files Browse the repository at this point in the history
  • Loading branch information
mathstuf committed Oct 12, 2023
1 parent 2eb5f51 commit ade1378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphql_client_codegen/src/schema/json_conversion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ fn ingest_object(schema: &mut Schema, object: &mut FullType) {
})
.collect()
})
.unwrap_or_else(Vec::new),
.unwrap_or_default(),
fields: field_ids,
};

Expand Down

0 comments on commit ade1378

Please sign in to comment.