Browse Source

Fix compilation error.

Remove `cfg(test)` attribute from `RoomMap::get_strict`.
wip
Titouan Rigoudy 4 years ago
parent
commit
1e28829f55
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      client/src/room.rs

+ 0
- 1
client/src/room.rs View File

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


Loading…
Cancel
Save