mirror of
https://github.com/servo/servo.git
synced 2025-08-02 04:00:32 +01:00
clippy: Fix many warnings in components/script
(#31717)
* Fix Several clippy warnings * Fix Build errors * Fix Unused import * Fix requested changes * Fix rustfmt * Minor fixes --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
676f655647
commit
01ca220f83
41 changed files with 200 additions and 212 deletions
|
@ -78,7 +78,7 @@ impl TrackEvent {
|
|||
track: &Option<VideoTrackOrAudioTrackOrTextTrack>,
|
||||
) -> DomRoot<TrackEvent> {
|
||||
let te = reflect_dom_object_with_proto(
|
||||
Box::new(TrackEvent::new_inherited(&track)),
|
||||
Box::new(TrackEvent::new_inherited(track)),
|
||||
global,
|
||||
proto,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue