mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
clippy: fixed various clippy warnings in components/scripts
(#31960)
* fixed various clippy warnings * fixed various clippy warnings * fixed various clippy warnings * fixed various clippy warnings
This commit is contained in:
parent
fd8235e409
commit
2f5a4354e7
7 changed files with 7 additions and 7 deletions
|
@ -480,7 +480,7 @@ impl ServiceWorkerGlobalScope {
|
|||
|
||||
fn dispatch_activate(&self) {
|
||||
let event = ExtendableEvent::new(self, atom!("activate"), false, false);
|
||||
let event = (&*event).upcast::<Event>();
|
||||
let event = (*event).upcast::<Event>();
|
||||
self.upcast::<EventTarget>().dispatch_event(event);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue