Skip to content

Commit 5856006

Browse files
authored
Fix typo in iter_result.md (#1614)
1 parent 5e7b296 commit 5856006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error/iter_result.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fn main() {
5151

5252
## Fail the entire operation with `collect()`
5353

54-
`Result` implements `FromIter` so that a vector of results (`Vec<Result<T, E>>`)
54+
`Result` implements `FromIterator` so that a vector of results (`Vec<Result<T, E>>`)
5555
can be turned into a result with a vector (`Result<Vec<T>, E>`). Once an
5656
`Result::Err` is found, the iteration will terminate.
5757

0 commit comments

Comments
 (0)