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`.
pull/787/head
arlecchino 3 years ago committed by GitHub
parent de6c45ad24
commit 34ea029df8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
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]]
name = "iterators4"

Loading…
Cancel
Save