Skip to content

Commit fdbed64

Browse files
authored
Merge pull request #1848 from findepi/findepi/remove-obsolete-clippy-suppressions-09e33d
Remove obsolete clippy suppressions
2 parents 5357d54 + 88f0820 commit fdbed64

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/lit.rs

-9
Original file line numberDiff line numberDiff line change
@@ -1281,9 +1281,6 @@ mod value {
12811281
}
12821282
}
12831283

1284-
// Clippy false positive
1285-
// https://github.com/rust-lang-nursery/rust-clippy/issues/2329
1286-
#[allow(clippy::needless_continue)]
12871284
fn parse_lit_str_cooked(mut s: &str) -> (Box<str>, Box<str>) {
12881285
assert_eq!(byte(s, 0), b'"');
12891286
s = &s[1..];
@@ -1376,9 +1373,6 @@ mod value {
13761373
}
13771374
}
13781375

1379-
// Clippy false positive
1380-
// https://github.com/rust-lang-nursery/rust-clippy/issues/2329
1381-
#[allow(clippy::needless_continue)]
13821376
fn parse_lit_byte_str_cooked(mut s: &str) -> (Vec<u8>, Box<str>) {
13831377
assert_eq!(byte(s, 0), b'b');
13841378
assert_eq!(byte(s, 1), b'"');
@@ -1455,9 +1449,6 @@ mod value {
14551449
}
14561450
}
14571451

1458-
// Clippy false positive
1459-
// https://github.com/rust-lang-nursery/rust-clippy/issues/2329
1460-
#[allow(clippy::needless_continue)]
14611452
fn parse_lit_c_str_cooked(mut s: &str) -> (CString, Box<str>) {
14621453
assert_eq!(byte(s, 0), b'c');
14631454
assert_eq!(byte(s, 1), b'"');

0 commit comments

Comments
 (0)