From aa725b0ecb85324b87602b260ee7d754e5f64c2e Mon Sep 17 00:00:00 2001 From: Nyaaori <+@nyaaori.cat> Date: Fri, 16 Dec 2022 08:50:17 +0100 Subject: [PATCH] chore: clippy --- src/api/client_server/membership.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/client_server/membership.rs b/src/api/client_server/membership.rs index 19ee3f20..38e1240b 100644 --- a/src/api/client_server/membership.rs +++ b/src/api/client_server/membership.rs @@ -595,7 +595,7 @@ async fn join_room_by_id_helper( } }; - if &signed_event_id != event_id { + if signed_event_id != event_id { return Err(Error::BadRequest( ErrorKind::InvalidParam, "Server sent event with wrong event id", @@ -916,7 +916,7 @@ async fn join_room_by_id_helper( } }; - if &signed_event_id != event_id { + if signed_event_id != event_id { return Err(Error::BadRequest( ErrorKind::InvalidParam, "Server sent event with wrong event id",