[rs] Remove unused function

This commit is contained in:
Joscha 2022-12-15 10:33:47 +01:00
parent f55cfaccce
commit 036a8f7f46

View file

@ -31,10 +31,6 @@ impl<T> Grid<T> {
}
}
fn at(&self, x: usize, y: usize) -> Option<&T> {
Some(&self.cells[self.index(x, y)?])
}
fn at_mut(&mut self, x: usize, y: usize) -> Option<&mut T> {
let index = self.index(x, y)?;
Some(&mut self.cells[index])