Skip to content

Commit c65050d

Browse files
committedSep 15, 2020
Fix clippy hard-code slice::Iter path
1 parent 6655ad7 commit c65050d

File tree

1 file changed

+1
-1
lines changed
  • src/tools/clippy/clippy_lints/src/utils

1 file changed

+1
-1
lines changed
 

‎src/tools/clippy/clippy_lints/src/utils/paths.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ pub const RWLOCK_WRITE_GUARD: [&str; 4] = ["std", "sync", "rwlock", "RwLockWrite
106106
pub const SERDE_DESERIALIZE: [&str; 2] = ["_serde", "Deserialize"];
107107
pub const SERDE_DE_VISITOR: [&str; 3] = ["serde", "de", "Visitor"];
108108
pub const SLICE_INTO_VEC: [&str; 4] = ["alloc", "slice", "<impl [T]>", "into_vec"];
109-
pub const SLICE_ITER: [&str; 3] = ["core", "slice", "Iter"];
109+
pub const SLICE_ITER: [&str; 4] = ["core", "slice", "iter", "Iter"];
110110
pub const STDERR: [&str; 4] = ["std", "io", "stdio", "stderr"];
111111
pub const STDOUT: [&str; 4] = ["std", "io", "stdio", "stdout"];
112112
pub const STD_CONVERT_IDENTITY: [&str; 3] = ["std", "convert", "identity"];

0 commit comments

Comments
 (0)