From dae689efda59a4d672502a8face909d3a6f1e617 Mon Sep 17 00:00:00 2001 From: Christopher Hotchkiss Date: Sun, 31 Oct 2021 09:28:20 -0400 Subject: [PATCH] Merged the allows into a single line as recommended by @Stargateur --- benchmarks/benches/arithmetic.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/benchmarks/benches/arithmetic.rs b/benchmarks/benches/arithmetic.rs index 9ade63f..cab1222 100644 --- a/benchmarks/benches/arithmetic.rs +++ b/benchmarks/benches/arithmetic.rs @@ -65,8 +65,7 @@ fn expr(input: &[u8]) -> IResult<&[u8], i64> { )(input) } -#[allow(clippy::eq_op)] -#[allow(clippy::erasing_op)] +#[allow(clippy::eq_op, clippy::erasing_op)] fn arithmetic(c: &mut Criterion) { let data = b" 2*2 / ( 5 - 1) + 3 / 4 * (2 - 7 + 567 *12 /2) + 3*(1+2*( 45 /2));";