mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 03:17: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
|
@ -724,7 +724,7 @@ impl Application {
|
|||
}
|
||||
Notification::PublishDiagnostics(mut params) => {
|
||||
let path = match params.uri.to_file_path() {
|
||||
Ok(path) => helix_stdx::path::normalize(&path),
|
||||
Ok(path) => helix_stdx::path::normalize(path),
|
||||
Err(_) => {
|
||||
log::error!("Unsupported file URI: {}", params.uri);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue