Skip to content

Commit

Permalink
Merged the allows into a single line as recommended by @Stargateur
Browse files Browse the repository at this point in the history
  • Loading branch information
chotchki authored and Geal committed Mar 14, 2022
1 parent bf57595 commit dae689e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions benchmarks/benches/arithmetic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));";

Expand Down

0 comments on commit dae689e

Please sign in to comment.