Browse Source

Suppress warnings in room/map.rs.

main
Titouan Rigoudy 2 years ago
parent
commit
78b71b501c
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      client/src/room/map.rs

+ 3
- 0
client/src/room/map.rs View File

@ -43,6 +43,8 @@ impl RoomEntry {
self.state.clone()
}
/// Returns the state contained in this entry.
#[cfg(test)]
pub fn into_state(self) -> RoomState {
self.state
}
@ -137,6 +139,7 @@ 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,


Loading…
Cancel
Save