aboutsummaryrefslogtreecommitdiffstats
path: root/components/devtools
diff options
context:
space:
mode:
authorRodion Borovyk <rodion.borovyk@gmail.com>2024-07-19 15:18:34 +0200
committerGitHub <noreply@github.com>2024-07-19 13:18:34 +0000
commit4bf5024ee058784d4f505fe5ec279cd87a7fd2b4 (patch)
treec0d77684bfdbcaeeddcda9b4518fb19ce41d730e /components/devtools
parent5eb77592ea8a0ba83e81d5e99f7beb54a8e48712 (diff)
downloadservo-4bf5024ee058784d4f505fe5ec279cd87a7fd2b4.tar.gz
servo-4bf5024ee058784d4f505fe5ec279cd87a7fd2b4.zip
fix a couple of simple clipy warnings (#32813)
Signed-off-by: Rodion Borovyk <rodion.borovyk@gmail.com>
Diffstat (limited to 'components/devtools')
-rw-r--r--components/devtools/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/devtools/lib.rs b/components/devtools/lib.rs
index caa55bf425b..6b6b407d3bd 100644
--- a/components/devtools/lib.rs
+++ b/components/devtools/lib.rs
@@ -340,7 +340,7 @@ fn run_server(
});
// Add existing streams to the new browsing context
- let browsing_context = actors.find::<BrowsingContextActor>(&name);
+ let browsing_context = actors.find::<BrowsingContextActor>(name);
let mut streams = browsing_context.streams.borrow_mut();
for (id, stream) in connections {
streams.insert(*id, stream.try_clone().unwrap());