# HG changeset patch # User Raphaël Gomès # Date 1673284966 -3600 # Node ID 5fff90c7ea9d15ca39036be0357a4be635b1137b # Parent 0d301f4180f511e3e87c6c00befc2897de03a013 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. diff -r 0d301f4180f5 -r 5fff90c7ea9d rust/hg-core/src/dirstate_tree/dirstate_map.rs --- 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,