mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
clippy: Fix warnings in components/shared
(#31627)
* clippy: fix warnings in `components/shared` * fix: formatting derive * fix: rename new to default
This commit is contained in:
parent
4efebf1e62
commit
21939c2ba8
11 changed files with 36 additions and 50 deletions
|
@ -3547,7 +3547,7 @@ impl Document {
|
|||
RefMut::map(map, |m| {
|
||||
&mut m
|
||||
.entry(Dom::from_ref(el))
|
||||
.or_insert_with(|| NoTrace(PendingRestyle::new()))
|
||||
.or_insert_with(|| NoTrace(PendingRestyle::default()))
|
||||
.0
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue