chore: Update hint of iterators3

`collect()` needs some hint for standard_library_types/iterators3 exercise with doc link for understanding different return types via `FromIterator`.
This commit is contained in:
arlecchino 2021-06-29 12:03:18 +02:00 committed by GitHub
parent de6c45ad24
commit 34ea029df8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -772,7 +772,10 @@ The division_results variable needs to be collected into a collection type.
The result_with_list function needs to return a single Result where the success The result_with_list function needs to return a single Result where the success
case is a vector of integers and the failure case is a DivisionError. case is a vector of integers and the failure case is a DivisionError.
The list_of_results function needs to return a vector of results.""" The list_of_results function needs to return a vector of results.
See https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.collect how
the `FromIterator` trait is used in `collect()`."""
[[exercises]] [[exercises]]
name = "iterators4" name = "iterators4"