clippy: remove needless lifetimes

This commit is contained in:
Louis Dureuil
2023-01-31 10:14:43 +01:00
parent 771a367b97
commit 924d5d4c11
3 changed files with 8 additions and 8 deletions

View File

@ -72,9 +72,9 @@ pub fn map_leaf_values<'a>(
map_leaf_values_in_object(value, &selectors, "", &mut mapper);
}
pub fn map_leaf_values_in_object<'a>(
pub fn map_leaf_values_in_object(
value: &mut Map<String, Value>,
selectors: &[&'a str],
selectors: &[&str],
base_key: &str,
mapper: &mut impl FnMut(&str, &mut Value),
) {