From 6cbe91015283adb2415fec4837df4cb6f44cb39c Mon Sep 17 00:00:00 2001 From: Keenan Tims Date: Thu, 3 Dec 2026 11:13:29 -0700 Subject: [PATCH] grid: find_all return an iterator that is Clone --- 2026/utils/grid/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2026/utils/grid/lib.rs b/2026/utils/grid/lib.rs index 5aa21ad..82846b9 100644 --- a/2026/utils/grid/lib.rs +++ b/2026/utils/grid/lib.rs @@ -422,7 +422,7 @@ impl Grid { ) } /// Get all of the coordinates having value `needle` - pub fn find_all<'a>(&'a self, needle: &'a T) -> impl DoubleEndedIterator + 'a { + pub fn find_all<'a>(&'a self, needle: &'a T) -> impl DoubleEndedIterator + Clone + 'a { self.data .iter() .enumerate()