Skip to content

Commit f87241b

Browse files
authored
Merge pull request #261 from louy2/patch-1
Fix typo
2 parents af696ce + 53ca464 commit f87241b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rust-2021/IntoIterator-for-arrays.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- Calls to `IntoIterator::into_iter` are *hidden* in Rust 2015 and Rust 2018 when using method call syntax
77
(i.e., `array.into_iter()`). So, `array.into_iter()` still resolves to `(&array).into_iter()` as it
88
has before.
9-
- `array.into_iter()` changes meaning to be the call to `IntoIterator::into_inter` in Rust 2021.
9+
- `array.into_iter()` changes meaning to be the call to `IntoIterator::into_iter` in Rust 2021.
1010

1111
## Details
1212

@@ -95,4 +95,4 @@ fn main() {
9595
### Optional migration
9696

9797
If you are using fully qualified method syntax (i.e., `IntoIterator::into_iter(array)`) in a previous edition,
98-
this can be upgraded to method call syntax (i.e., `array.into_iter()`).
98+
this can be upgraded to method call syntax (i.e., `array.into_iter()`).

0 commit comments

Comments
 (0)