From bf6af37be1274e962d70ecc3423e16173df8b2c2 Mon Sep 17 00:00:00 2001 From: Dominic Date: Sun, 7 Jul 2024 13:40:07 +0200 Subject: [PATCH] remove stuff not meant for main --- src/activities/house/room.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/activities/house/room.rs b/src/activities/house/room.rs index f8dd113..87cb84b 100644 --- a/src/activities/house/room.rs +++ b/src/activities/house/room.rs @@ -101,9 +101,9 @@ impl Room { const STOVE_HEIGHT: f32 = 0.025; const SINK_HEIGHT: f32 = 0.5; - #[allow(clippy::single_match, unreachable_patterns)] // we'll add more stuff later + #[allow(clippy::single_match)] // we'll add more stuff later match room_type { - _ => { + RoomType::Kitchen => { // in a kitchen, we always add a fridge let fridge_pos = u8::gen_range(0, 2) * (width - 1); empty_spots.swap_remove(&fridge_pos);