rust-clippy: reassure `clippy` that 8 arguments is expected
This API is a bit verbose, but refactoring it into a struct isn't better
in this particular case IMO, and there is a lot of info to pass.
--- a/rust/hg-core/src/dirstate_tree/dirstate_map.rs Mon Jan 09 18:15:29 2023 +0100
+++ b/rust/hg-core/src/dirstate_tree/dirstate_map.rs Mon Jan 09 18:22:46 2023 +0100
@@ -655,6 +655,7 @@
}
}
+ #[allow(clippy::too_many_arguments)]
fn reset_state(
&mut self,
filename: &HgPath,