Skip to content

Commit

Permalink
cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
uros-5 committed Aug 27, 2024
1 parent 7fd60ee commit b31a397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jinja-lsp/src/lsp_files.rs
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ impl LspFiles {
}
}
let is_nodejs = nodejs_uri.is_some();
let uri = nodejs_uri.unwrap_or(String::new());
let uri = nodejs_uri.unwrap_or_default();
for file in self.variables.iter() {
if is_nodejs && file.0 != &uri {
continue;
Expand Down

0 comments on commit b31a397

Please sign in to comment.