mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 02:47:45 +03:00
fix(lints): clippy 1.84
This commit is contained in:
parent
168b11e091
commit
c1d382a532
15 changed files with 34 additions and 42 deletions
|
@ -85,7 +85,7 @@ impl Client {
|
|||
.and_then(|root| lsp::Url::from_file_path(root).ok());
|
||||
|
||||
if self.root_path == root.unwrap_or(workspace)
|
||||
|| root_uri.as_ref().map_or(false, |root_uri| {
|
||||
|| root_uri.as_ref().is_some_and(|root_uri| {
|
||||
self.workspace_folders
|
||||
.lock()
|
||||
.iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue