Skip to content

Commit

Permalink
fix rustfmt due to the ast change
Browse files Browse the repository at this point in the history
  • Loading branch information
pietroalbini committed Apr 2, 2024
1 parent b94513a commit a58b963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/rustfmt/src/imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ impl UseTree {
version,
});
}
UseTreeKind::Nested(ref list) => {
UseTreeKind::Nested { items: ref list, .. } => {
// Extract comments between nested use items.
// This needs to be done before sorting use items.
let items = itemize_list(
Expand Down

0 comments on commit a58b963

Please sign in to comment.