rust-clippy: reassure `clippy` that 8 arguments is expected
authorRaphaël Gomès <rgomes@octobus.net>
Mon, 09 Jan 2023 18:22:46 +0100
changeset 49994 5fff90c7ea9d
parent 49993 0d301f4180f5
child 49995 b6dc4802e7ef
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.
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,