Skip to content

Commit

Permalink
Merge pull request rust-lang#787 from kolbma/exercise-iterator3-hint
Browse files Browse the repository at this point in the history
chore: Update hint of iterators3
  • Loading branch information
shadows-withal authored Jun 29, 2021
2 parents 0bd459d + a4a1098 commit 633303d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion info.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 633303d

Please sign in to comment.