From acf7ca0c9a49c97488bb5e1e2d40dd38ac7d4afb Mon Sep 17 00:00:00 2001 From: Savanni D'Gerinel Date: Tue, 26 Mar 2024 08:47:42 -0400 Subject: [PATCH] Resolve clippy warnings on otg-core --- otg/core/src/goban.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/otg/core/src/goban.rs b/otg/core/src/goban.rs index c167cf0..edff8b1 100644 --- a/otg/core/src/goban.rs +++ b/otg/core/src/goban.rs @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with On // documenting) my code from almost a year ago. // use crate::{BoardError, Color, Size}; -use sgf::{GameNode, Move, MoveNode}; +use sgf::{GameNode, MoveNode}; use std::collections::HashSet; #[derive(Clone, Debug, Default)] @@ -221,7 +221,7 @@ impl Goban { ) -> Result { let mut s = self; for m in moves.into_iter() { - let s = match m { + match m { GameNode::MoveNode(node) => s = s.apply_move_node(node)?, GameNode::SetupNode(_n) => unimplemented!("setup nodes aren't processed yet"), };