iterate over a maps values directly. (clippy::for_kv_map)
This commit is contained in:
parent
45108b195f
commit
1351db31fb
1 changed files with 1 additions and 1 deletions
|
@ -1542,7 +1542,7 @@ impl Context {
|
|||
}
|
||||
|
||||
if self.shared.sort_modules_alphabetically {
|
||||
for (_, items) in &mut map {
|
||||
for items in map.values_mut() {
|
||||
items.sort();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue