Created
May 5, 2022 15:36
-
-
Save yvan-sraka/5d1e6c9e5b0bf963215a860a60a76214 to your computer and use it in GitHub Desktop.
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() { | |
let x = vec![1, 2, 3]; | |
for i in 0..=x.len() { | |
println!("{}", x[i]); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment