Skip to content

Commit

Permalink
Clippify
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxbotix committed Apr 7, 2024
1 parent 1d2e711 commit c2f3808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/serialize_hierarchy_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ fn read_fields(input: &DataStruct) -> Vec<Field> {
.collect();
let identifier = field.ident.clone().map_or_else(
|| IdentOrTupleIndex::TupleIndex(field_index),
|identifier| IdentOrTupleIndex::Ident(identifier),
IdentOrTupleIndex::Ident,
);
let ty = field.ty.clone();
Field {
Expand Down

0 comments on commit c2f3808

Please sign in to comment.