diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-01-28 10:09:45 +0100 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-01-28 10:09:45 +0100 |
| commit | 36245feeb059cfec84ae15dc2a3ee211d0ed4e42 (patch) | |
| tree | 1ca9b647377ee500616a783d09c52e8f7d88b4c0 | |
| parent | b08964b3bdc8ffad3605ecd4d1c84cf8472566e0 (diff) | |
| download | rust-36245feeb059cfec84ae15dc2a3ee211d0ed4e42.tar.gz rust-36245feeb059cfec84ae15dc2a3ee211d0ed4e42.zip | |
Update changed iterator paths
| -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 d2dc2812575..35d99d98593 100644 --- a/clippy_lints/src/utils/paths.rs +++ b/clippy_lints/src/utils/paths.rs @@ -41,7 +41,7 @@ pub const INTO: [&str; 3] = ["core", "convert", "Into"]; pub const INTO_ITERATOR: [&str; 4] = ["core", "iter", "traits", "IntoIterator"]; pub const IO_READ: [&str; 3] = ["std", "io", "Read"]; pub const IO_WRITE: [&str; 3] = ["std", "io", "Write"]; -pub const ITERATOR: [&str; 4] = ["core", "iter", "iterator", "Iterator"]; +pub const ITERATOR: [&str; 5] = ["core", "iter", "traits", "iterator", "Iterator"]; pub const LATE_CONTEXT: [&str; 4] = ["rustc", "lint", "context", "LateContext"]; pub const LINKED_LIST: [&str; 4] = ["alloc", "collections", "linked_list", "LinkedList"]; pub const LINT: [&str; 3] = ["rustc", "lint", "Lint"]; |
