summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarisa <mokou@fastmail.com>2021-06-29 13:49:17 +0200
committerGitHub <noreply@github.com>2021-06-29 13:49:17 +0200
commit633303d4b8163e349c118c6cbd216185efe2ba24 (patch)
tree3acbec0f01246e603a403446bb05c01dccea7717
parent0bd459dcac44c8e7f47c7c6d3c9f30ced56e26f6 (diff)
parenta4a10987667ed5094763101fb885c9efc0e53bc3 (diff)
Merge pull request #787 from kolbma/exercise-iterator3-hint
chore: Update hint of iterators3
-rw-r--r--info.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/info.toml b/info.toml
index ab4dc93..e91909a 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 for how
+the `FromIterator` trait is used in `collect()`."""
[[exercises]]
name = "iterators4"