From a6b35d6bf313bfebfd35b32b01529f0f92cfe124 Mon Sep 17 00:00:00 2001 From: Drew Galbraith Date: Wed, 26 Jun 2024 23:08:55 -0700 Subject: [PATCH] Fix warning on unused variable. --- src/iterators.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iterators.rs b/src/iterators.rs index f16a2d6..76184c4 100644 --- a/src/iterators.rs +++ b/src/iterators.rs @@ -89,7 +89,7 @@ impl SquareIter { std::iter::FilterMap Option<(u8, u8)>>, impl FnMut((u8, u8)) -> u8, > { - self.values_enumerate().map(|(i, v)| v) + self.values_enumerate().map(|(_, v)| v) } pub fn marks(