Combines a pattern match and a while loop. let mut cs = "Hello, world!".chars(); while let Some(x) = cs.next() { print("{}+", x); } println!("");. This prints H ...
確定! 回上一頁