Skip to content

Commit

Permalink
Drop mut from variable to silence linter (helix-editor#7704)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtepe committed Jul 22, 2023
1 parent 5c41f22 commit 505213d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-lsp/src/file_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 505213d

Please sign in to comment.