Skip to content

Commit

Permalink
fix(iterators5): derive Clone, Copy
Browse files Browse the repository at this point in the history
To allow more flexibility in solutions, derive `Clone` and `Copy`
for `Progress`.
  • Loading branch information
tlyu committed Jun 6, 2021
1 parent a2f0401 commit 91fc9e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/standard_library_types/iterators5.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

use std::collections::HashMap;

#[derive(PartialEq, Eq)]
#[derive(Clone, Copy, PartialEq, Eq)]
enum Progress {
None,
Some,
Expand Down

0 comments on commit 91fc9e3

Please sign in to comment.