From b3e597e375c259062860281034c67dcdbb4e75ff Mon Sep 17 00:00:00 2001 From: Denis Navarro Date: Tue, 27 Sep 2022 00:47:39 +0200 Subject: [PATCH] Fix typo in iter_result.md --- src/error/iter_result.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error/iter_result.md b/src/error/iter_result.md index e77e21ff6f..288f4fc022 100644 --- a/src/error/iter_result.md +++ b/src/error/iter_result.md @@ -51,7 +51,7 @@ fn main() { ## Fail the entire operation with `collect()` -`Result` implements `FromIter` so that a vector of results (`Vec>`) +`Result` implements `FromIterator` so that a vector of results (`Vec>`) can be turned into a result with a vector (`Result, E>`). Once an `Result::Err` is found, the iteration will terminate.