forked from extern/nushell
Fix two stable clippy
lints (#8712)
# Description Unnecessary calls to `.into_iter()` # User-Facing Changes None # Tests + Formatting Only visible on stable toolchain
This commit is contained in:
committed by
GitHub
parent
0b9fc4ff3a
commit
61fa826159
@ -141,7 +141,6 @@ fn element_to_value(n: &roxmltree::Node, info: &ParsingInfo) -> Value {
|
||||
|
||||
let content: Vec<Value> = n
|
||||
.children()
|
||||
.into_iter()
|
||||
.filter_map(|node| from_node_to_value(&node, info))
|
||||
.collect();
|
||||
let content = Value::list(content, span);
|
||||
|
Reference in New Issue
Block a user