diff --git a/src/select/mod.rs b/src/select/mod.rs index b53cdd5..80cc58c 100644 --- a/src/select/mod.rs +++ b/src/select/mod.rs @@ -588,7 +588,7 @@ impl<'a, 'b> Selector<'a, 'b> { } fn in_filter, &mut Vec<&'a Value>, &mut HashSet) -> FilterKey>(&mut self, fun: F) { - fn get_parent<'a>(prev: Option>, current_value: &Vec<&'a Value>, not_matched: HashSet) -> Option> { + fn get_parent<'a>(prev: Option>, current_value: &[&'a Value], not_matched: HashSet) -> Option> { if prev.is_some() { return prev; }