1
0
Fork 0

Remove unneeded clone

This commit is contained in:
Lars Martens 2023-12-04 12:42:03 +01:00
parent 5f70c0666c
commit 0029059c73
Signed by: haselkern
GPG key ID: B5CF1F363C179AD4

View file

@ -30,7 +30,6 @@ fn part2(input: &str) -> u64 {
cards.iter().map(|card| card.copies).sum()
}
#[derive(Clone)]
struct Card {
copies: u64,
winning: HashSet<u64>,