Skip to content

Commit

Permalink
Undo changes from serde-rs#2387
Browse files Browse the repository at this point in the history
  • Loading branch information
banool committed Oct 6, 2023
1 parent 37a3285 commit 0b904a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde_derive/src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ fn deserialize_struct(
} else {
let field_names = field_names_idents
.iter()
.flat_map(|&(_, _, aliases)| aliases);
.map(|&(name, _, _)| name);

Some(quote! {
#[doc(hidden)]
Expand Down

0 comments on commit 0b904a9

Please sign in to comment.