summaryrefslogtreecommitdiff
path: root/info.toml
diff options
context:
space:
mode:
authorarlecchino <kolbma@users.noreply.github.com>2021-06-29 12:03:18 +0200
committerGitHub <noreply@github.com>2021-06-29 12:03:18 +0200
commit34ea029df8cb0af90524b9158990a56d6beb3d10 (patch)
tree15a613392338dec2ae3c2667f6e7721d7bdfc329 /info.toml
parentde6c45ad244528562889138757f3c8c7f089bbec (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.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/info.toml b/info.toml
index ab4dc93..dedc65d 100644
--- a/info.toml
+++ b/info.toml
@@ -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"