From f2fd2127ed866222639019ac61298c843f778187 Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Tue, 19 Mar 2024 19:02:26 +0100 Subject: [PATCH] Politely ask clippy to not complain about too many arguments --- src/context_diff.rs | 1 + src/unified_diff.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/context_diff.rs b/src/context_diff.rs index 9f1db55..d9c61b8 100644 --- a/src/context_diff.rs +++ b/src/context_diff.rs @@ -265,6 +265,7 @@ fn make_diff( } #[must_use] +#[allow(clippy::too_many_arguments)] pub fn diff( expected: &[u8], expected_filename: &str, diff --git a/src/unified_diff.rs b/src/unified_diff.rs index 5af52e9..0d3ec38 100644 --- a/src/unified_diff.rs +++ b/src/unified_diff.rs @@ -236,6 +236,7 @@ fn make_diff( } #[must_use] +#[allow(clippy::too_many_arguments)] pub fn diff( expected: &[u8], expected_filename: &str,