about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2019-01-28 10:16:34 +0100
committerOliver Scherer <github35764891676564198441@oli-obk.de>2019-01-28 10:16:34 +0100
commit7b90cb529a2c11f69a29427da50379722f5e332e (patch)
tree1005b46b7dfad911c6ac0489d89a736932ad3416
parentdc8c7b16775be6c249555338af70d78013f01301 (diff)
downloadrust-7b90cb529a2c11f69a29427da50379722f5e332e.tar.gz
rust-7b90cb529a2c11f69a29427da50379722f5e332e.zip
Update more changed iterator paths
-rw-r--r--clippy_lints/src/utils/paths.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/utils/paths.rs b/clippy_lints/src/utils/paths.rs
index 35d99d98593..0a1b53c32ac 100644
--- a/clippy_lints/src/utils/paths.rs
+++ b/clippy_lints/src/utils/paths.rs
@@ -38,7 +38,7 @@ pub const INDEX: [&str; 3] = ["core", "ops", "Index"];
 pub const INDEX_MUT: [&str; 3] = ["core", "ops", "IndexMut"];
 pub const INIT: [&str; 4] = ["core", "intrinsics", "", "init"];
 pub const INTO: [&str; 3] = ["core", "convert", "Into"];
-pub const INTO_ITERATOR: [&str; 4] = ["core", "iter", "traits", "IntoIterator"];
+pub const INTO_ITERATOR: [&str; 5] = ["core", "iter", "traits", "collect", "IntoIterator"];
 pub const IO_READ: [&str; 3] = ["std", "io", "Read"];
 pub const IO_WRITE: [&str; 3] = ["std", "io", "Write"];
 pub const ITERATOR: [&str; 5] = ["core", "iter", "traits", "iterator", "Iterator"];