From 7b78c39cb604961564b1d4e0a491eafacc85e8cb Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 14 Nov 2025 09:51:12 -0500 Subject: Enable more clippy lints --- dungeon/src/map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dungeon/src/map.rs') diff --git a/dungeon/src/map.rs b/dungeon/src/map.rs index a28248b..4928a29 100644 --- a/dungeon/src/map.rs +++ b/dungeon/src/map.rs @@ -83,7 +83,7 @@ pub struct Floor { } impl Floor { /// Construct a floor from its components - pub fn new(tiles: Box<[Tile; TILE_COUNT]>, player_start: Pos) -> Self { + pub const fn new(tiles: Box<[Tile; TILE_COUNT]>, player_start: Pos) -> Self { Self { tiles, player_start, -- cgit v1.2.3-freya