Skip to content

Commit

Permalink
Format PR 2387 with rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 8, 2023
1 parent 1ff2a97 commit 88d73e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion serde_derive/src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2400,7 +2400,9 @@ fn deserialize_struct_as_struct_visitor(
.collect();

let fields_stmt = {
let field_names = field_names_idents.iter().flat_map(|(_, _, aliases)| aliases);
let field_names = field_names_idents
.iter()
.flat_map(|(_, _, aliases)| aliases);

quote_block! {
const FIELDS: &'static [&'static str] = &[ #(#field_names),* ];
Expand Down

0 comments on commit 88d73e5

Please sign in to comment.