mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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 MediaStreamMethods for MediaStream {
|
|||
self.tracks
|
||||
.borrow()
|
||||
.iter()
|
||||
.find(|x| x.id().id().to_string() == &*id)
|
||||
.find(|x| x.id().id().to_string() == *id)
|
||||
.map(|x| DomRoot::from_ref(&**x))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue