diff --git a/src/game/deck.rs b/src/game/deck.rs index f32ce7e..897ea53 100644 --- a/src/game/deck.rs +++ b/src/game/deck.rs @@ -16,7 +16,7 @@ pub enum Reason { impl Deck { pub fn new_empty() -> Self { - Deck(Vec::new()) + Self(Vec::new()) } pub fn new_full(n: usize) -> Self {