Skip to content

Commit 5e05821

Browse files
committed
Remove clippy_utils::paths::{SLICE_GET, STR_BYTES}
Both clippy_utils::paths::SLICE_GET and clippy_utils::paths::STR_BYTES are dead_code and can therefore be removed.
1 parent fed9940 commit 5e05821

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clippy_utils/src/paths.rs

-2
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,13 @@ pub const REGEX_NEW: [&str; 3] = ["regex", "Regex", "new"];
7373
pub const REGEX_SET_NEW: [&str; 3] = ["regex", "RegexSet", "new"];
7474
pub const SERDE_DESERIALIZE: [&str; 3] = ["serde", "de", "Deserialize"];
7575
pub const SERDE_DE_VISITOR: [&str; 3] = ["serde", "de", "Visitor"];
76-
pub const SLICE_GET: [&str; 4] = ["core", "slice", "<impl [T]>", "get"];
7776
pub const SLICE_INTO_VEC: [&str; 4] = ["alloc", "slice", "<impl [T]>", "into_vec"];
7877
pub const SLICE_INTO: [&str; 4] = ["core", "slice", "<impl [T]>", "iter"];
7978
pub const STD_IO_SEEK_FROM_CURRENT: [&str; 4] = ["std", "io", "SeekFrom", "Current"];
8079
pub const STD_IO_SEEKFROM_START: [&str; 4] = ["std", "io", "SeekFrom", "Start"];
8180
pub const STRING_AS_MUT_STR: [&str; 4] = ["alloc", "string", "String", "as_mut_str"];
8281
pub const STRING_AS_STR: [&str; 4] = ["alloc", "string", "String", "as_str"];
8382
pub const STRING_NEW: [&str; 4] = ["alloc", "string", "String", "new"];
84-
pub const STR_BYTES: [&str; 4] = ["core", "str", "<impl str>", "bytes"];
8583
pub const STR_CHARS: [&str; 4] = ["core", "str", "<impl str>", "chars"];
8684
pub const STR_ENDS_WITH: [&str; 4] = ["core", "str", "<impl str>", "ends_with"];
8785
pub const STR_LEN: [&str; 4] = ["core", "str", "<impl str>", "len"];

0 commit comments

Comments
 (0)