mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
clippy: Fix warnings in components/layout
(#31612)
* clippy: fix warnings in components/layout * fix: formatting
This commit is contained in:
parent
7f1ef4c7fe
commit
a6e25d555b
17 changed files with 129 additions and 150 deletions
|
@ -307,7 +307,7 @@ impl<'a, 'b> ResolveGeneratedContentFragmentMutator<'a, 'b> {
|
|||
}
|
||||
|
||||
// Truncate down counters.
|
||||
for (_, counter) in &mut self.traversal.counters {
|
||||
for counter in self.traversal.counters.values_mut() {
|
||||
counter.truncate_to_level(self.level);
|
||||
}
|
||||
self.traversal.list_item.truncate_to_level(self.level);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue