Added two allows so clippy would pass a very complicated math formula for testing.

This commit is contained in:
Christopher Hotchkiss
2021-10-24 12:31:13 -04:00
committed by Geoffroy Couprie
parent eb775f6da8
commit 5c28a159c3
+2
View File
@@ -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));";