mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
clippy: fixed some warnings in components/script (#31888)
This commit is contained in:
parent
8dece05980
commit
92b557867c
11 changed files with 39 additions and 40 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue