From 071ab6e69d63c872a5b972b6510b51c26e235e9e Mon Sep 17 00:00:00 2001 From: hyperparabolic <spbalogh@gmail.com> Date: Tue, 4 May 2021 01:40:43 -0500 Subject: [PATCH] iterators5: Change Progress to derive Clone and Copy This enables solutions to call count_iterator from count_collection_iterator. --- exercises/standard_library_types/iterators5.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/standard_library_types/iterators5.rs b/exercises/standard_library_types/iterators5.rs index d8d4453..fd99d6c 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(PartialEq, Eq, Clone, Copy)] enum Progress { None, Some,