diff options
| author | bors <bors@rust-lang.org> | 2020-09-15 16:46:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-15 16:46:41 +0000 |
| commit | 190c6ea3690a20024ebc80eefbf91dba0e7fda5f (patch) | |
| tree | eec48763585067542775dd79eb277698ac6f7639 | |
| parent | 9f0f035fe0b800adef73864cdcc1c1b528c80547 (diff) | |
| parent | 78f9ea543154b6a0d6b5b5a86e92d8cc1938b436 (diff) | |
| download | rust-190c6ea3690a20024ebc80eefbf91dba0e7fda5f.tar.gz rust-190c6ea3690a20024ebc80eefbf91dba0e7fda5f.zip | |
Auto merge of #6049 - flip1995:rustup, r=flip1995
Fix clippy hard-code slice::Iter path r? `@ghost` changelog: none
| -rw-r--r-- | clippy_lints/src/utils/paths.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/utils/paths.rs b/clippy_lints/src/utils/paths.rs index 65320d6a0e0..3b031a552e5 100644 --- a/clippy_lints/src/utils/paths.rs +++ b/clippy_lints/src/utils/paths.rs @@ -106,7 +106,7 @@ pub const RWLOCK_WRITE_GUARD: [&str; 4] = ["std", "sync", "rwlock", "RwLockWrite pub const SERDE_DESERIALIZE: [&str; 2] = ["_serde", "Deserialize"]; pub const SERDE_DE_VISITOR: [&str; 3] = ["serde", "de", "Visitor"]; pub const SLICE_INTO_VEC: [&str; 4] = ["alloc", "slice", "<impl [T]>", "into_vec"]; -pub const SLICE_ITER: [&str; 3] = ["core", "slice", "Iter"]; +pub const SLICE_ITER: [&str; 4] = ["core", "slice", "iter", "Iter"]; pub const STDERR: [&str; 4] = ["std", "io", "stdio", "stderr"]; pub const STDOUT: [&str; 4] = ["std", "io", "stdio", "stdout"]; pub const STD_CONVERT_IDENTITY: [&str; 3] = ["std", "convert", "identity"]; |
