mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
fix a couple of simple clipy warnings (#32813)
Signed-off-by: Rodion Borovyk <rodion.borovyk@gmail.com>
This commit is contained in:
parent
5eb77592ea
commit
4bf5024ee0
5 changed files with 9 additions and 13 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue