From 505213d41b5a4807431f623fae53180e06d867a7 Mon Sep 17 00:00:00 2001 From: Jonas Tepe Date: Sat, 22 Jul 2023 16:31:24 +0200 Subject: Drop mut from variable to silence linter (#7704) --- helix-lsp/src/file_event.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-lsp/src') diff --git a/helix-lsp/src/file_event.rs b/helix-lsp/src/file_event.rs index 26a27c98..93457fa5 100644 --- a/helix-lsp/src/file_event.rs +++ b/helix-lsp/src/file_event.rs @@ -139,7 +139,7 @@ impl Handler { registration_id ); - let mut entry = state.entry(client_id).or_insert_with(ClientState::default); + let entry = state.entry(client_id).or_insert_with(ClientState::default); entry.client = client; let mut builder = GlobSetBuilder::new(); -- cgit v1.2.3-70-g09d2