2024: clippies

This commit is contained in:
ktims committed 2026-12-02 14:09:23 -07:00
1 parent 966ac945ed
commit 2121d0dc55
7 files changed
+69 -41

No files matched your search

+2 -2
View File
@@ -292,7 +292,7 @@ impl<T: Clone + Eq + PartialEq + Debug> Grid<T> {
}
}
pub fn row_iter(&self, y: i64) -> Option<GridRowIter<T>> {
pub fn row_iter(&self, y: i64) -> Option<GridRowIter<'_, T>> {
if (y as usize) < self.height() {
Some(GridRowIter::new(self, y))
} else {
@@ -308,7 +308,7 @@ impl<T: Clone + Eq + PartialEq + Debug> Grid<T> {
}
}
pub fn col_iter(&self, x: i64) -> Option<GridColIter<T>> {
pub fn col_iter(&self, x: i64) -> Option<GridColIter<'_, T>> {
if (x as usize) < self.width() {
Some(GridColIter::new(self, x))
} else {