add list to main

This commit is contained in:
quiK committed 2025-08-10 11:22:25 +02:00
1 parent 9a23cf2bb1
commit 513df62dc8
1 file changed
+5 -2
+5 -2
View File
@@ -1,3 +1,6 @@
fn main() {
println!("Hello, world!");
}
let vec = vec![1, 2, 3, 4];
for x in vec.iter() {
println!("vec contained {x:?}");
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.