Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- let vec = vec![1, 2, 3];
- for i in 0..(vec.len()) {
- println!("{}", i);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement