We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
iter()
into_iter()
Vec
1 parent 4d5b691 commit dd01391Copy full SHA for dd01391
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