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.
1 parent bcbc666 commit 4c25cf0Copy full SHA for 4c25cf0
tests/run-pass/iter.rs
@@ -30,7 +30,7 @@ fn iter_any() {
30
let h = |(), (), x: &u8| { 10u8 == *x };
31
h((), (), &1u8);
32
33
- [1, 2, 3u8].into_iter().any(|elt| 10 == *elt);
+ [1, 2, 3u8].iter().any(|elt| 10 == *elt);
34
}
35
36
fn main() {
0 commit comments