clippy: Fix more clippy warnings in components/scripts/dom (#31914)

* refrence to a reference

* refrence to a reference
This commit is contained in:
Rosemary Ajayi 2024-03-28 12:26:39 +01:00 committed by GitHub
parent 5aae820f6d
commit 3ddb47e902
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 11 additions and 11 deletions

View file

@ -118,7 +118,7 @@ impl Worker {
let (devtools_sender, devtools_receiver) = ipc::channel().unwrap();
let worker_id = WorkerId(Uuid::new_v4());
if let Some(ref chan) = global.devtools_chan() {
if let Some(chan) = global.devtools_chan() {
let pipeline_id = global.pipeline_id();
let title = format!("Worker for {}", worker_url);
if let Some(browsing_context) = browsing_context {