mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Fix more clippy (#32740)
This commit is contained in:
parent
4e1f623666
commit
f29dd64a7b
25 changed files with 72 additions and 90 deletions
|
@ -193,11 +193,8 @@ impl Actor for WatcherActor {
|
|||
let target =
|
||||
registry.find::<BrowsingContextActor>(&self.browsing_context_actor);
|
||||
|
||||
match resource {
|
||||
"document-event" => {
|
||||
target.document_event(stream);
|
||||
},
|
||||
_ => {},
|
||||
if resource == "document-event" {
|
||||
target.document_event(stream);
|
||||
}
|
||||
|
||||
let _ = stream.write_json_packet(&EmptyReplyMsg { from: self.name() });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue