Skip to content

Commit 826035b

Browse files
committed
Allow slice_as_bytes on bytes_nth
1 parent 5dd77b2 commit 826035b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/ui/bytes_nth.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//@run-rustfix
22

33
#![allow(clippy::unnecessary_operation)]
4+
#![allow(clippy::slice_as_bytes)]
45
#![warn(clippy::bytes_nth)]
56

67
fn main() {

0 commit comments

Comments
 (0)