remove duplicate fn

This commit is contained in:
Vinzenz Schroeter 2024-06-02 13:20:31 +02:00
parent ffe3a87319
commit c017b85962

View file

@ -59,11 +59,6 @@ impl ByteGrid {
self.height 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 { impl Grid<u8> for ByteGrid {