Skip to content

Commit 91fc9e3

Browse files
committed
fix(iterators5): derive Clone, Copy
To allow more flexibility in solutions, derive `Clone` and `Copy` for `Progress`.
1 parent a2f0401 commit 91fc9e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/standard_library_types/iterators5.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
use std::collections::HashMap;
1717

18-
#[derive(PartialEq, Eq)]
18+
#[derive(Clone, Copy, PartialEq, Eq)]
1919
enum Progress {
2020
None,
2121
Some,

0 commit comments

Comments
 (0)