Skip to content

Commit 0b904a9

Browse files
committed
Undo changes from serde-rs#2387
1 parent 37a3285 commit 0b904a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serde_derive/src/de.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ fn deserialize_struct(
10101010
} else {
10111011
let field_names = field_names_idents
10121012
.iter()
1013-
.flat_map(|&(_, _, aliases)| aliases);
1013+
.map(|&(name, _, _)| name);
10141014

10151015
Some(quote! {
10161016
#[doc(hidden)]

0 commit comments

Comments
 (0)