diff options
author | Jonas Tepe | 2023-07-22 14:31:24 +0000 |
---|---|---|
committer | GitHub | 2023-07-22 14:31:24 +0000 |
commit | 505213d41b5a4807431f623fae53180e06d867a7 (patch) | |
tree | d441003b9fb0b37645c1deb9bed50e21d011f2af /helix-lsp | |
parent | 5c41f22c2a20a1b8a91ddd6397686bd752591ffc (diff) |
Drop mut from variable to silence linter (#7704)
Diffstat (limited to 'helix-lsp')
-rw-r--r-- | helix-lsp/src/file_event.rs | 2 |
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(); |