diff options
| author | arlecchino <kolbma@users.noreply.github.com> | 2021-06-29 12:03:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-29 12:03:18 +0200 |
| commit | 34ea029df8cb0af90524b9158990a56d6beb3d10 (patch) | |
| tree | 15a613392338dec2ae3c2667f6e7721d7bdfc329 /info.toml | |
| parent | de6c45ad244528562889138757f3c8c7f089bbec (diff) | |
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`.
Diffstat (limited to 'info.toml')
| -rw-r--r-- | info.toml | 5 |
1 files changed, 4 insertions, 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 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" |
