mirror of
https://github.com/fluencelabs/jsonpath
synced 2025-05-10 08:17:12 +00:00
fix clippy error
This commit is contained in:
parent
ad39c9e668
commit
8e10128826
@ -588,7 +588,7 @@ impl<'a, 'b> Selector<'a, 'b> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn in_filter<F: Fn(&Vec<&'a Value>, &mut Vec<&'a Value>, &mut HashSet<usize>) -> FilterKey>(&mut self, fun: F) {
|
fn in_filter<F: Fn(&Vec<&'a Value>, &mut Vec<&'a Value>, &mut HashSet<usize>) -> FilterKey>(&mut self, fun: F) {
|
||||||
fn get_parent<'a>(prev: Option<Vec<&'a Value>>, current_value: &Vec<&'a Value>, not_matched: HashSet<usize>) -> Option<Vec<&'a Value>> {
|
fn get_parent<'a>(prev: Option<Vec<&'a Value>>, current_value: &[&'a Value], not_matched: HashSet<usize>) -> Option<Vec<&'a Value>> {
|
||||||
if prev.is_some() {
|
if prev.is_some() {
|
||||||
return prev;
|
return prev;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user