mirror of
https://github.com/cccb/servicepoint.git
synced 2025-01-18 18:10:14 +01:00
remove duplicate fn
This commit is contained in:
parent
ffe3a87319
commit
c017b85962
|
@ -59,11 +59,6 @@ impl ByteGrid {
|
|||
self.height
|
||||
);
|
||||
}
|
||||
|
||||
pub fn get_mut(&mut self, x: usize, y: usize) -> &mut u8 {
|
||||
self.check_indexes(x, y);
|
||||
&mut self.data[x + y * self.width]
|
||||
}
|
||||
}
|
||||
|
||||
impl Grid<u8> for ByteGrid {
|
||||
|
|
Loading…
Reference in a new issue