mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
fix(iterators5): derive Clone, Copy
To allow more flexibility in solutions, derive `Clone` and `Copy` for `Progress`.
This commit is contained in:
parent
a2f0401c4c
commit
91fc9e3118
|
@ -15,7 +15,7 @@
|
|||
|
||||
use std::collections::HashMap;
|
||||
|
||||
#[derive(PartialEq, Eq)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq)]
|
||||
enum Progress {
|
||||
None,
|
||||
Some,
|
||||
|
|
Loading…
Reference in a new issue