Skip to content

Commit

Permalink
Fix unused warning
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrankel committed Aug 21, 2024
1 parent 6298d5d commit 56178f6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/game/card/deck.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ impl Configure for Deck {
}

impl Deck {
pub fn new(card_keys: impl Into<Vec<String>>) -> Self {
Self {
card_keys: card_keys.into(),
active: -1,
}
}

pub fn advance(&mut self, step: isize) -> Option<&String> {
if self.card_keys.is_empty() {
return None;
Expand Down

0 comments on commit 56178f6

Please sign in to comment.