mirror of
https://gitee.com/openharmony/third_party_rust_nom
synced 2024-11-22 23:19:44 +00:00
Merged the allows into a single line as recommended by @Stargateur
This commit is contained in:
parent
bf575957ea
commit
dae689efda
@ -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));";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user