@@ -1281,9 +1281,6 @@ mod value {
1281
1281
}
1282
1282
}
1283
1283
1284
- // Clippy false positive
1285
- // https://github.com/rust-lang-nursery/rust-clippy/issues/2329
1286
- #[ allow( clippy:: needless_continue) ]
1287
1284
fn parse_lit_str_cooked ( mut s : & str ) -> ( Box < str > , Box < str > ) {
1288
1285
assert_eq ! ( byte( s, 0 ) , b'"' ) ;
1289
1286
s = & s[ 1 ..] ;
@@ -1376,9 +1373,6 @@ mod value {
1376
1373
}
1377
1374
}
1378
1375
1379
- // Clippy false positive
1380
- // https://github.com/rust-lang-nursery/rust-clippy/issues/2329
1381
- #[ allow( clippy:: needless_continue) ]
1382
1376
fn parse_lit_byte_str_cooked ( mut s : & str ) -> ( Vec < u8 > , Box < str > ) {
1383
1377
assert_eq ! ( byte( s, 0 ) , b'b' ) ;
1384
1378
assert_eq ! ( byte( s, 1 ) , b'"' ) ;
@@ -1455,9 +1449,6 @@ mod value {
1455
1449
}
1456
1450
}
1457
1451
1458
- // Clippy false positive
1459
- // https://github.com/rust-lang-nursery/rust-clippy/issues/2329
1460
- #[ allow( clippy:: needless_continue) ]
1461
1452
fn parse_lit_c_str_cooked ( mut s : & str ) -> ( CString , Box < str > ) {
1462
1453
assert_eq ! ( byte( s, 0 ) , b'c' ) ;
1463
1454
assert_eq ! ( byte( s, 1 ) , b'"' ) ;
0 commit comments