mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
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:
parent
de6c45ad24
commit
34ea029df8
|
@ -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…
Reference in a new issue