aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp/src/file_event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-lsp/src/file_event.rs')
-rw-r--r--helix-lsp/src/file_event.rs2
1 files changed, 1 insertions, 1 deletions
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();