Skip to content

Commit

Permalink
Added two allows so clippy would pass a very complicated math formula…
Browse files Browse the repository at this point in the history
… for testing.
  • Loading branch information
chotchki authored and Geal committed Mar 14, 2022
1 parent eaddf7a commit bf57595
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions benchmarks/benches/arithmetic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ fn expr(input: &[u8]) -> IResult<&[u8], i64> {
)(input)
}

#[allow(clippy::eq_op)]
#[allow(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));";

Expand Down

0 comments on commit bf57595

Please sign in to comment.