From 8994c090e2878aa4ce1552ca7ca93d561217e696 Mon Sep 17 00:00:00 2001 From: Rob Parrett Date: Mon, 23 Dec 2024 13:12:15 -0700 Subject: [PATCH] Fixup botched GH suggestion --- src/tiles/storage.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tiles/storage.rs b/src/tiles/storage.rs index 91de06ae..4988c854 100644 --- a/src/tiles/storage.rs +++ b/src/tiles/storage.rs @@ -99,7 +99,6 @@ impl TileStorage { /// /// Checks that the given `tile_pos` lies within the extents of the underlying map. pub fn checked_remove(&mut self, tile_pos: &TilePos) -> Option { - if tile_pos.within_map_bounds(&self.size) { self.tiles.get_mut(tile_pos.to_index(&self.size))?.take() }