From f3742ce67400ab8aa91e3e2007be6f4aa27bbca7 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Wed, 19 Feb 2025 21:26:38 -0500 Subject: [PATCH] clippy --- src/board.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/board.rs b/src/board.rs index a85524c..e4ea0b2 100644 --- a/src/board.rs +++ b/src/board.rs @@ -37,7 +37,7 @@ impl PosMap { panic!("index is out of range"); } - unsafe { &self.0.get_unchecked(index) } + unsafe { self.0.get_unchecked(index) } } }