aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/devtools.rs
diff options
context:
space:
mode:
authorEkta Siwach <137225906+ektuu@users.noreply.github.com>2024-03-27 02:55:42 +0530
committerGitHub <noreply@github.com>2024-03-26 21:25:42 +0000
commit92b557867c199472ce42a2f5b99676c485ed2ae1 (patch)
treeee8858794b4d7dfe025e1e61c5cf84a0207b63f5 /components/script/devtools.rs
parent8dece05980a4ec46b06505e511f8b158d4c0fe3b (diff)
downloadservo-92b557867c199472ce42a2f5b99676c485ed2ae1.tar.gz
servo-92b557867c199472ce42a2f5b99676c485ed2ae1.zip
clippy: fixed some warnings in components/script (#31888)
Diffstat (limited to 'components/script/devtools.rs')
-rw-r--r--components/script/devtools.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/devtools.rs b/components/script/devtools.rs
index bd15db39712..d83e9fecdc6 100644
--- a/components/script/devtools.rs
+++ b/components/script/devtools.rs
@@ -123,7 +123,7 @@ pub fn handle_get_children(
reply: IpcSender<Option<Vec<NodeInfo>>>,
) {
match find_node_by_unique_id(documents, pipeline, &node_id) {
- None => return reply.send(None).unwrap(),
+ None => reply.send(None).unwrap(),
Some(parent) => {
let children = parent.children().map(|child| child.summarize()).collect();