We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
iter()
into_iter()
Vec
1 parent ec8917c commit 3c0ab53Copy full SHA for 3c0ab53
core/src/iter/traits/iterator.rs
@@ -40,6 +40,10 @@ fn _assert_is_object_safe(_: &dyn Iterator<Item = ()>) {}
40
label = "`{Self}` is not an iterator; try calling `.into_iter()` or `.iter()`"
41
),
42
on(_Self = "&[]", label = "`{Self}` is not an iterator; try calling `.iter()`"),
43
+ on(
44
+ _Self = "std::vec::Vec<T, A>",
45
+ label = "`{Self}` is not an iterator; try calling `.into_iter()` or `.iter()`"
46
+ ),
47
on(
48
_Self = "&str",
49
label = "`{Self}` is not an iterator; try calling `.chars()` or `.bytes()`"
0 commit comments