Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- let array = ["eins", "zwei", "drei", "vier", "fünf"];
- // It works when the array size <= 32
- for element in &array {
- println!("{}", element);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement