Skip to content

Commit 36245fe

Browse files
committed
Update changed iterator paths
1 parent b08964b commit 36245fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/utils/paths.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub const INTO: [&str; 3] = ["core", "convert", "Into"];
4141
pub const INTO_ITERATOR: [&str; 4] = ["core", "iter", "traits", "IntoIterator"];
4242
pub const IO_READ: [&str; 3] = ["std", "io", "Read"];
4343
pub const IO_WRITE: [&str; 3] = ["std", "io", "Write"];
44-
pub const ITERATOR: [&str; 4] = ["core", "iter", "iterator", "Iterator"];
44+
pub const ITERATOR: [&str; 5] = ["core", "iter", "traits", "iterator", "Iterator"];
4545
pub const LATE_CONTEXT: [&str; 4] = ["rustc", "lint", "context", "LateContext"];
4646
pub const LINKED_LIST: [&str; 4] = ["alloc", "collections", "linked_list", "LinkedList"];
4747
pub const LINT: [&str; 3] = ["rustc", "lint", "Lint"];

0 commit comments

Comments
 (0)