mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 03:17:45 +03:00
Fix new clippy lints (#5892)
This commit is contained in:
parent
9d73a0d112
commit
8a3ec443f1
18 changed files with 32 additions and 37 deletions
|
@ -628,7 +628,7 @@ impl Client {
|
|||
Some(self.notify::<lsp::notification::DidSaveTextDocument>(
|
||||
lsp::DidSaveTextDocumentParams {
|
||||
text_document,
|
||||
text: include_text.then(|| text.into()),
|
||||
text: include_text.then_some(text.into()),
|
||||
},
|
||||
))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue