[rs] Remove unused function
This commit is contained in:
parent
f55cfaccce
commit
036a8f7f46
1 changed files with 0 additions and 4 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue