mirror of
https://github.com/openharmony/third_party_rust_nom.git
synced 2026-07-01 21:04:01 -04:00
Added two allows so clippy would pass a very complicated math formula for testing.
This commit is contained in:
committed by
Geoffroy Couprie
parent
eb775f6da8
commit
5c28a159c3
@@ -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));";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user