When I try learning a new language, I follow a tutorial, and along the way TRY some modifications to see "what happens"
This snippet works fine:
fn main() {
for i in 0..5 {
println!("Flappy {}", i);
for j in 0..5 {
println!(" Floopy {}", j);
}
}
}
But when I changed the 'Floopy' section to "for j in 5..0 {"
all I get are 5 'Flappy' lines.
I can't find where "0..5" versus "5..0" is discussed in any documentation...
Help?