mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-08 11:49:19 +00:00
iterators5: Change Progress to derive Clone and Copy
This enables solutions to call count_iterator from count_collection_iterator.
This commit is contained in:
parent
7cd635fa84
commit
071ab6e69d
@ -15,7 +15,7 @@
|
||||
|
||||
use std::collections::HashMap;
|
||||
|
||||
#[derive(PartialEq, Eq)]
|
||||
#[derive(PartialEq, Eq, Clone, Copy)]
|
||||
enum Progress {
|
||||
None,
|
||||
Some,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user