mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +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
|
@ -47,7 +47,7 @@ impl ServiceWorkerContainer {
|
|||
|
||||
#[allow(crown::unrooted_must_root)]
|
||||
pub fn new(global: &GlobalScope) -> DomRoot<ServiceWorkerContainer> {
|
||||
let client = Client::new(&global.as_window());
|
||||
let client = Client::new(global.as_window());
|
||||
let container = ServiceWorkerContainer::new_inherited(&*client);
|
||||
reflect_dom_object(Box::new(container), global)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue