mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
clippy: Fix dereferenced warnings (#31770)
This commit is contained in:
parent
0cf2caba06
commit
02a0cdd6fa
43 changed files with 92 additions and 96 deletions
|
@ -154,7 +154,7 @@ impl MediaStream {
|
|||
fn clone_with_proto(&self, proto: Option<HandleObject>) -> DomRoot<MediaStream> {
|
||||
let new = MediaStream::new_with_proto(&self.global(), proto);
|
||||
for track in &*self.tracks.borrow() {
|
||||
new.add_track(&track)
|
||||
new.add_track(track)
|
||||
}
|
||||
new
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue