mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-09 04:09:20 +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;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
#[derive(PartialEq, Eq)]
|
#[derive(PartialEq, Eq, Clone, Copy)]
|
||||||
enum Progress {
|
enum Progress {
|
||||||
None,
|
None,
|
||||||
Some,
|
Some,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user