From c017b85962bdb915156a9ddf82159fed0c21e841 Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Sun, 2 Jun 2024 13:20:31 +0200 Subject: [PATCH] remove duplicate fn --- crates/servicepoint/src/byte_grid.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/crates/servicepoint/src/byte_grid.rs b/crates/servicepoint/src/byte_grid.rs index bc58c7e..163237a 100644 --- a/crates/servicepoint/src/byte_grid.rs +++ b/crates/servicepoint/src/byte_grid.rs @@ -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 for ByteGrid {