This commit is contained in:
ktims committed 2026-12-02 13:10:47 -07:00
1 parent 645f3683c9
commit 0446debff4
2 files changed
+42 -11

No files matched your search

+1
View File
@@ -412,6 +412,7 @@ impl<T: Clone + Eq + PartialEq + Debug> Grid<T> {
}
}
// Find the first instance of `needle` in self in storage order (row then col)
pub fn find(&self, needle: &T) -> Option<Coord2d> {
self.coord(
self.data