Created
March 8, 2025 15:42
-
-
Save theArjun/851fbae7f44947e93865952eda6d82d2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| let chars = vec!['a', 'b', 'c']; | |
| for (idx, char) in chars.into_iter().enumerate() { | |
| println!("Index: {}, Char: {}", idx, char); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment