enable implicit_clone lint

This commit is contained in:
Charles Hall 2024-05-14 17:08:36 -07:00
parent b0f65913f3
commit ebae8ceeb0
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
17 changed files with 24 additions and 23 deletions

View file

@ -727,7 +727,7 @@ pub(crate) async fn send_transaction_message_route(
.roomid_mutex_federation
.write()
.await
.entry(room_id.to_owned())
.entry(room_id.clone())
.or_default(),
);
let mutex_lock = mutex.lock().await;
@ -1374,7 +1374,7 @@ pub(crate) async fn create_join_event_template_route(
.roomid_mutex_state
.write()
.await
.entry(body.room_id.to_owned())
.entry(body.room_id.clone())
.or_default(),
);
let state_lock = mutex_state.lock().await;