chore: clippy

This commit is contained in:
Nyaaori 2022-12-16 08:50:17 +01:00
parent 03c02133a2
commit aa725b0ecb
No known key found for this signature in database
GPG key ID: E7819C3ED4D1F82E

View file

@ -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",