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 e01ab5d commit 97db6dbCopy full SHA for 97db6db
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