Skip to content

Commit 8a00ed5

Browse files
authored
fix: add missing space
This way it's consistent with the previous example.
1 parent ccc5c70 commit 8a00ed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fn/closures/closure_examples/iter_any.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fn main() {
4343
// `iter()` for arrays yields `&i32`.
4444
println!("2 in array1: {}", array1.iter() .any(|&x| x == 2));
4545
// `into_iter()` for arrays yields `i32`.
46-
println!("2 in array2: {}", array2.into_iter().any(|x| x == 2));
46+
println!("2 in array2: {}", array2.into_iter().any(| x| x == 2));
4747
}
4848
```
4949

0 commit comments

Comments
 (0)