Skip to content

Commit f2fd212

Browse files
committed
Politely ask clippy to not complain about too many arguments
1 parent cfc68d5 commit f2fd212

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/context_diff.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ fn make_diff(
265265
}
266266

267267
#[must_use]
268+
#[allow(clippy::too_many_arguments)]
268269
pub fn diff(
269270
expected: &[u8],
270271
expected_filename: &str,

src/unified_diff.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ fn make_diff(
236236
}
237237

238238
#[must_use]
239+
#[allow(clippy::too_many_arguments)]
239240
pub fn diff(
240241
expected: &[u8],
241242
expected_filename: &str,

0 commit comments

Comments
 (0)