diff --git a/board-frontend/src/app.rs b/board-frontend/src/app.rs index c0813fa..df22353 100644 --- a/board-frontend/src/app.rs +++ b/board-frontend/src/app.rs @@ -84,7 +84,7 @@ pub fn app() -> Html { in_hand.complete(); game.set(Game { board: current_game.board.clone(), - in_hand: in_hand.clone() + in_hand: in_hand.clone(), }); current_game.set(Game { board: current_game.board.clone(), diff --git a/board-shared/src/lexer.rs b/board-shared/src/lexer.rs index 290c36b..e2b4f82 100644 --- a/board-shared/src/lexer.rs +++ b/board-shared/src/lexer.rs @@ -68,6 +68,7 @@ pub fn lexer(input: &[Tile]) -> Result, ()> { #[cfg(test)] mod tests { use super::*; + use crate::tile::Digit; #[test] fn test_lex() {