From 2b6a151f7e6ed856d61251cca304c06b783e0bd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Wed, 30 Nov 2022 17:26:54 +0100 Subject: [PATCH] room: Remove derived Eq on Session MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- src/room.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/room.rs b/src/room.rs index 948d060..ccf098b 100644 --- a/src/room.rs +++ b/src/room.rs @@ -384,7 +384,7 @@ impl Room { } /// An occupant session -#[derive(Debug, Clone, Eq)] +#[derive(Debug, Clone)] pub struct Session { pub presence: Presence, pub real: FullJid, @@ -445,7 +445,7 @@ impl TryFrom for Session { } /// An occupant in a room. May contain multiple sessions (Multi-Session Nicks) -#[derive(Debug, Clone, PartialEq, Eq)] +#[derive(Debug, Clone, PartialEq)] pub struct Occupant { /// Public Jid for the Occupant pub real: BareJid,