mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
clippy: Fix dereferenced warnings (#31770)
This commit is contained in:
parent
0cf2caba06
commit
02a0cdd6fa
43 changed files with 92 additions and 96 deletions
|
@ -133,7 +133,7 @@ impl MediaSessionMethods for MediaSession {
|
|||
init.artist = DOMString::from_string(metadata.artist.clone());
|
||||
init.album = DOMString::from_string(metadata.album.clone());
|
||||
let global = self.global();
|
||||
Some(MediaMetadata::new(&global.as_window(), &init))
|
||||
Some(MediaMetadata::new(global.as_window(), &init))
|
||||
} else {
|
||||
None
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue