From eaa386df88e23d54fb91f6d8b91f9ca35f99bedd Mon Sep 17 00:00:00 2001 From: clfreville2 Date: Tue, 31 Jan 2023 18:55:12 +0100 Subject: [PATCH] Add missing import in tests --- board-frontend/src/app.rs | 2 +- board-shared/src/lexer.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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() {