mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
fmt
This commit is contained in:
parent
ff767b13a9
commit
217147b2e4
4 changed files with 6 additions and 19 deletions
|
@ -170,9 +170,7 @@ impl DocumentOrShadowRoot {
|
|||
let mut elements: Vec<DomRoot<Element>> = nodes
|
||||
.iter()
|
||||
.flat_map(|&untrusted_node_address| {
|
||||
let node = unsafe {
|
||||
node::from_untrusted_node_address(untrusted_node_address)
|
||||
};
|
||||
let node = unsafe { node::from_untrusted_node_address(untrusted_node_address) };
|
||||
DomRoot::downcast::<Element>(node)
|
||||
})
|
||||
.collect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue