This website requires JavaScript.
Explore
Help
Sign In
quiK
/
hellorust
Watch
1
Star
0
Fork
1
You've already forked hellorust
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
513df62dc81d1c399c7554da2d3b528cdfe2a601
hellorust
/
src
/
main.rs
6 lines
118 B
Rust
Raw
Normal View
History
Unescape
Escape
init
2025-08-09 11:18:26 +02:00
fn
main
(
)
{
add list to main
2025-08-10 11:22:25 +02:00
let
vec
=
vec!
[
1
,
2
,
3
,
4
]
;
for
x
in
vec
.
iter
(
)
{
println!
(
"
vec contained
{x:?}
"
)
;
}
}
Reference in New Issue
Copy Permalink