From 95dca5fba11989fa3336e2cb9157566872c5d417 Mon Sep 17 00:00:00 2001 From: Bearmine Date: Fri, 6 Feb 2026 20:50:15 -0600 Subject: [PATCH] Fix some linting errors --- day_04/src/crossword.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/day_04/src/crossword.rs b/day_04/src/crossword.rs index 4f609c2..1df405b 100644 --- a/day_04/src/crossword.rs +++ b/day_04/src/crossword.rs @@ -198,14 +198,14 @@ impl Crossword { self.height } - pub fn iter_cells(&self) -> CrosswordIterator { + pub fn iter_cells(&self) -> CrosswordIterator<'_> { CrosswordIterator { crossword: self, position: 0, } } - pub fn cell(&self, x: usize, y: usize) -> CrosswordCell { + pub fn cell(&self, x: usize, y: usize) -> CrosswordCell<'_> { CrosswordCell { x, y,