We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8d5663 commit 40d8d82Copy full SHA for 40d8d82
src/ast.rs
@@ -94,9 +94,9 @@ impl Selector {
94
Selector::DescendantDotWildcard => {
95
Self::traverse(input, move |n: &'a Value| Box::new(iter::once(n)))
96
}
97
- Selector::DescendantUnion(indices) => {
98
- Self::traverse(input, move |n: &'a Value| Box::new(indices.iter().flat_map(move |i| i.find(n))))
99
- }
+ Selector::DescendantUnion(indices) => Self::traverse(input, move |n: &'a Value| {
+ Box::new(indices.iter().flat_map(move |i| i.find(n)))
+ }),
100
101
102
0 commit comments