For Loops
TODO: Switch to using a Vec instead of and array probably since Vecs are what will have been used elsewhere.
SOURCE CODE
fn main() {
let alfa = [5, 10, 15, 20];
for item in alfa {
println!("item is {}", item)
}
}
TODO: Switch to using a Vec instead of and array probably since Vecs are what will have been used elsewhere.
fn main() {
let alfa = [5, 10, 15, 20];
for item in alfa {
println!("item is {}", item)
}
}