This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-02 04:57:35 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
e53d6dd35b
rust
/
tests
/
ui
/
iterators
/
array.rs
9 lines
117 B
Rust
Raw
Normal View
History
Unescape
Escape
Adjust docs and tests for new `IntoIterator` impl for arrays
2020-07-28 17:03:56 +00:00
// check-pass
Add tests for handled cases
2018-10-10 02:01:17 +00:00
fn
main
(
)
{
for
_
in
[
1
,
2
]
{
}
let
x
=
[
1
,
2
]
;
for
_
in
x
{
}
for
_
in
[
1.0
,
2.0
]
{
}
}
Reference in New Issue
Copy Permalink