aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp/src
diff options
context:
space:
mode:
authorJonas Tepe2023-07-22 14:31:24 +0000
committerGitHub2023-07-22 14:31:24 +0000
commit505213d41b5a4807431f623fae53180e06d867a7 (patch)
treed441003b9fb0b37645c1deb9bed50e21d011f2af /helix-lsp/src
parent5c41f22c2a20a1b8a91ddd6397686bd752591ffc (diff)
Drop mut from variable to silence linter (#7704)
Diffstat (limited to 'helix-lsp/src')
-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();