Skip to content

Commit

Permalink
resolve clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
uros-5 committed Nov 9, 2024
1 parent 7f7c315 commit f2aedf7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion jinja-lsp/src/channels/lsp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ pub fn lsp_task(
config.user_defined = true;
Some(config)
})
.map(|c| c)
.unwrap_or(search_config().unwrap_or(config));

let definition_provider = Some(OneOf::Left(true));
Expand Down
2 changes: 1 addition & 1 deletion jinja-lsp/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub fn search_config() -> Option<JinjaConfig> {
return Some(config.jinja_lsp);
}
}
return None;
None
}

impl JinjaConfig {
Expand Down

0 comments on commit f2aedf7

Please sign in to comment.