Skip to content

Commit 3f1c6de

Browse files
committed
Ignore byte_char_slices clippy lint in test
warning: can be more succinctly written as a byte str --> tests/test.rs:1108:13 | 1108 | &[b'"', b'\n', b'"'], | ^^^^^^^^^^^^^^^^^^^^ help: try: `b"\"\n\""` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#byte_char_slices = note: `-W clippy::byte-char-slices` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::byte_char_slices)]` warning: can be more succinctly written as a byte str --> tests/test.rs:1112:13 | 1112 | &[b'"', b'\x1F', b'"'], | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `b"\"\x1F\""` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#byte_char_slices
1 parent 3fd6f5f commit 3f1c6de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#![allow(
22
clippy::assertions_on_result_states,
3+
clippy::byte_char_slices,
34
clippy::cast_precision_loss,
45
clippy::derive_partial_eq_without_eq,
56
clippy::excessive_precision,

0 commit comments

Comments
 (0)