diff --git a/src/modes/single.rs b/src/modes/single.rs index dcbb8d9..16aafde 100644 --- a/src/modes/single.rs +++ b/src/modes/single.rs @@ -10,7 +10,7 @@ impl Single { The only situation where a card cannot be converted into a Single is if it's a Joker. */ - fn new(c: Card) -> Option { + pub fn new(c: Card) -> Option { (!c.is_joker()).then_some(Single(c)) } }