Remove unneeded clone
This commit is contained in:
parent
5f70c0666c
commit
0029059c73
1 changed files with 0 additions and 1 deletions
|
@ -30,7 +30,6 @@ fn part2(input: &str) -> u64 {
|
||||||
cards.iter().map(|card| card.copies).sum()
|
cards.iter().map(|card| card.copies).sum()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone)]
|
|
||||||
struct Card {
|
struct Card {
|
||||||
copies: u64,
|
copies: u64,
|
||||||
winning: HashSet<u64>,
|
winning: HashSet<u64>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue