We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87b5438 commit e0846cbCopy full SHA for e0846cb
src/fn/closures/closure_examples/iter_find.md
@@ -38,7 +38,7 @@ fn main() {
38
39
// 对数组的 `iter()` 举出 `&i32`。
40
println!("Find 2 in array1: {:?}", array1.iter() .find(|&&x| x == 2));
41
- // 对数组的 `into_iter()` 通常举出 `&i32`。
+ // 对数组的 `into_iter()` 通常举出 `i32`。
42
println!("Find 2 in array2: {:?}", array2.into_iter().find(|&x| x == 2));
43
}
44
```
0 commit comments