Fix unnecessary-mut-passed lint (#36490)

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz
2025-08-19 14:20:01 +00:00
committed by GitHub
parent e3b593efbd
commit c4083b9b63
28 changed files with 103 additions and 104 deletions
+2 -2
View File
@@ -332,9 +332,9 @@ impl UserStore {
async fn handle_update_contacts(
this: Entity<Self>,
message: TypedEnvelope<proto::UpdateContacts>,
mut cx: AsyncApp,
cx: AsyncApp,
) -> Result<()> {
this.read_with(&mut cx, |this, _| {
this.read_with(&cx, |this, _| {
this.update_contacts_tx
.unbounded_send(UpdateContacts::Update(message.payload))
.unwrap();