mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 02:47:45 +03:00
Resolve new Clippy lints
This commit is contained in:
parent
3cf2a91a25
commit
9dd51e75e0
8 changed files with 23 additions and 14 deletions
|
@ -139,7 +139,7 @@ impl Handler {
|
|||
registration_id
|
||||
);
|
||||
|
||||
let entry = state.entry(client_id).or_insert_with(ClientState::default);
|
||||
let entry = state.entry(client_id).or_default();
|
||||
entry.client = client;
|
||||
|
||||
let mut builder = GlobSetBuilder::new();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue