From 4bf5024ee058784d4f505fe5ec279cd87a7fd2b4 Mon Sep 17 00:00:00 2001 From: Rodion Borovyk Date: Fri, 19 Jul 2024 15:18:34 +0200 Subject: fix a couple of simple clipy warnings (#32813) Signed-off-by: Rodion Borovyk --- components/devtools/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/devtools') 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::(&name); + let browsing_context = actors.find::(name); let mut streams = browsing_context.streams.borrow_mut(); for (id, stream) in connections { streams.insert(*id, stream.try_clone().unwrap()); -- cgit v1.2.3