summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exercises/standard_library_types/iterators5.rs2
-rw-r--r--info.toml5
2 files changed, 5 insertions, 2 deletions
diff --git a/exercises/standard_library_types/iterators5.rs b/exercises/standard_library_types/iterators5.rs
index d8d4453..765028a 100644
--- a/exercises/standard_library_types/iterators5.rs
+++ b/exercises/standard_library_types/iterators5.rs
@@ -15,7 +15,7 @@
use std::collections::HashMap;
-#[derive(PartialEq, Eq)]
+#[derive(Clone, Copy, PartialEq, Eq)]
enum Progress {
None,
Some,
diff --git a/info.toml b/info.toml
index 7695037..ab4dc93 100644
--- a/info.toml
+++ b/info.toml
@@ -798,7 +798,10 @@ test count_iterator.
The collection variable in count_collection_iterator is a slice of HashMaps. It
needs to be converted into an iterator in order to use the iterator methods.
-The fold method can be useful in the count_collection_iterator function."""
+The fold method can be useful in the count_collection_iterator function.
+
+For a further challenge, consult the documentation for Iterator to find
+a different method that could make your code more compact than using fold."""
# THREADS