clippy: Fix op_ref warnings (#31900)

This commit is contained in:
Oluwatobi Sofela 2024-03-27 17:45:58 +01:00 committed by GitHub
parent 773e881971
commit da518823ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 15 additions and 19 deletions

View file

@ -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))
}