From 1e28829f55be68c59c7c6c5b406cc8dd6ef712c7 Mon Sep 17 00:00:00 2001 From: Titouan Rigoudy Date: Thu, 23 Sep 2021 21:11:00 +0200 Subject: [PATCH] Fix compilation error. Remove `cfg(test)` attribute from `RoomMap::get_strict`. --- client/src/room.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/client/src/room.rs b/client/src/room.rs index 5d69589..cc27836 100644 --- a/client/src/room.rs +++ b/client/src/room.rs @@ -115,7 +115,6 @@ impl RoomMap { /// Looks up the given room name in the map, returning an immutable /// reference to the associated data if found, or an error if not found. - #[cfg(test)] pub fn get_strict(&self, room_name: &str) -> Result<&Room, RoomError> { match self.map.get(room_name) { Some(room) => Ok(room),