Skip to content

Commit bf57595

Browse files
chotchkiGeal
authored andcommitted
Added two allows so clippy would pass a very complicated math formula for testing.
1 parent eaddf7a commit bf57595

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

benchmarks/benches/arithmetic.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ fn expr(input: &[u8]) -> IResult<&[u8], i64> {
6565
)(input)
6666
}
6767

68+
#[allow(clippy::eq_op)]
69+
#[allow(clippy::erasing_op)]
6870
fn arithmetic(c: &mut Criterion) {
6971
let data = b" 2*2 / ( 5 - 1) + 3 / 4 * (2 - 7 + 567 *12 /2) + 3*(1+2*( 45 /2));";
7072

0 commit comments

Comments
 (0)