mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
enable implicit_clone lint
This commit is contained in:
parent
b0f65913f3
commit
ebae8ceeb0
17 changed files with 24 additions and 23 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue