As mentioned in Basics, we can use anything which implements IntoIterator with the for loop: let vector = vec!["foo", "bar", "baz"]; // vectors implement ...
確定! 回上一頁