mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-23 11:48:09 -05:00
Merge pull request #787 from kolbma/exercise-iterator3-hint
chore: Update hint of iterators3
This commit is contained in:
commit
633303d4b8
1 changed files with 4 additions and 1 deletions
|
@ -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 for how
|
||||||
|
the `FromIterator` trait is used in `collect()`."""
|
||||||
|
|
||||||
[[exercises]]
|
[[exercises]]
|
||||||
name = "iterators4"
|
name = "iterators4"
|
||||||
|
|
Loading…
Reference in a new issue