mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
clippy: Fix op_ref warnings (#31900)
This commit is contained in:
parent
773e881971
commit
da518823ff
8 changed files with 15 additions and 19 deletions
|
@ -125,7 +125,7 @@ impl TextTrackListMethods for TextTrackList {
|
|||
self.dom_tracks
|
||||
.borrow()
|
||||
.iter()
|
||||
.filter(|track| track.id() == &id_str)
|
||||
.filter(|track| track.id() == id_str)
|
||||
.next()
|
||||
.map(|t| DomRoot::from_ref(&**t))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue