mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
clippy: Fix needless_borrow warnings in components/script (#31928)
This commit is contained in:
parent
2d5a1cd02e
commit
c4739675d8
19 changed files with 32 additions and 32 deletions
|
@ -3529,7 +3529,7 @@ impl Document {
|
|||
self.id_map
|
||||
.borrow()
|
||||
.get(id)
|
||||
.map(|ref elements| DomRoot::from_ref(&*(*elements)[0]))
|
||||
.map(|elements| DomRoot::from_ref(&*elements[0]))
|
||||
}
|
||||
|
||||
pub fn ensure_pending_restyle(&self, el: &Element) -> RefMut<PendingRestyle> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue