Created
June 29, 2018 11:59
-
-
Save rust-play/0af1c5764a2b22423f288a5f080d6c72 to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() | |
{ | |
for i in (4..10).rev().map(|i| i*2) | |
{ | |
println!("{}",i); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment