Make clippy happy

This commit is contained in:
Clément Renault
2023-01-17 18:01:26 +01:00
parent 2b1f6a7f11
commit 1b78231e18
19 changed files with 115 additions and 139 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),
) {