fn main() { let arr = [10, 20, 30]; // TODO: for element in arr.iter(), print it }
Output
Click Run to execute, or Check to validate.
Ask questions or share tips about this tutorial
Sign in to join the discussion