From 6019772e6473216a207bb925b1908c42f790d7ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Thu, 8 Sep 2022 00:26:56 +0200 Subject: [PATCH] Remove iter_mut impl on Occupant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- src/types.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/types.rs b/src/types.rs index 3d02a68..27ce752 100644 --- a/src/types.rs +++ b/src/types.rs @@ -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>> =