Fix some linting errors
This commit is contained in:
@@ -198,14 +198,14 @@ impl Crossword {
|
|||||||
self.height
|
self.height
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn iter_cells(&self) -> CrosswordIterator {
|
pub fn iter_cells(&self) -> CrosswordIterator<'_> {
|
||||||
CrosswordIterator {
|
CrosswordIterator {
|
||||||
crossword: self,
|
crossword: self,
|
||||||
position: 0,
|
position: 0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn cell(&self, x: usize, y: usize) -> CrosswordCell {
|
pub fn cell(&self, x: usize, y: usize) -> CrosswordCell<'_> {
|
||||||
CrosswordCell {
|
CrosswordCell {
|
||||||
x,
|
x,
|
||||||
y,
|
y,
|
||||||
|
|||||||
Reference in New Issue
Block a user