Remove iter_mut impl on Occupant

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2022-09-08 00:26:56 +02:00
parent ca068ba243
commit 6019772e64
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -157,10 +157,6 @@ impl Occupant {
fn iter(&self) -> std::slice::Iter<'_, FullJid> {
self.sessions.iter()
}
fn iter_mut(&mut self) -> std::slice::IterMut<'_, FullJid> {
self.sessions.iter_mut()
}
}
pub(crate) static mut ROOMS: LazyLock<Mutex<HashMap<BareJid, Room>>> =