changeset 49921:5fff90c7ea9d

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.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 09 Jan 2023 18:22:46 +0100
parents 0d301f4180f5
children b6dc4802e7ef
files rust/hg-core/src/dirstate_tree/dirstate_map.rs
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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,