aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/serviceworkercontainer.rs
diff options
context:
space:
mode:
authorOluwatobi Sofela <60105594+oluwatobiss@users.noreply.github.com>2024-03-20 09:07:22 +0100
committerGitHub <noreply@github.com>2024-03-20 08:07:22 +0000
commit02a0cdd6faf80b77c6b066120bc2927c963affe3 (patch)
treeabb409671c554c5c4d9678788388d51f6341688d /components/script/dom/serviceworkercontainer.rs
parent0cf2caba06a78fe3695c46b468422e975f0bd187 (diff)
downloadservo-02a0cdd6faf80b77c6b066120bc2927c963affe3.tar.gz
servo-02a0cdd6faf80b77c6b066120bc2927c963affe3.zip
clippy: Fix dereferenced warnings (#31770)
Diffstat (limited to 'components/script/dom/serviceworkercontainer.rs')
-rw-r--r--components/script/dom/serviceworkercontainer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/serviceworkercontainer.rs b/components/script/dom/serviceworkercontainer.rs
index 2d4c1039ba8..bb4793250a8 100644
--- a/components/script/dom/serviceworkercontainer.rs
+++ b/components/script/dom/serviceworkercontainer.rs
@@ -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)
}