|
|
|
@ -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),
|
|
|
|
|