Browse Source

Suppress last warnings.

wip
Titouan Rigoudy 4 years ago
parent
commit
1b5928a54a
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      client/src/room.rs
  2. +1
    -0
      client/src/user.rs

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

@ -321,6 +321,7 @@ impl RoomMap {
Ok(room)
}
#[allow(dead_code)]
/// Records that we are now trying to leave the given room.
/// If the room is not found, or if its membership status is not `Member`,
/// returns an error.


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

@ -77,6 +77,7 @@ impl UserMap {
Ok(())
}
#[cfg(test)]
/// Returns the list of (user name, user data) representing all known users.
pub fn get_list(&self) -> Vec<(String, User)> {
let mut users = Vec::new();


Loading…
Cancel
Save