diff options
Diffstat (limited to 'cli/lsp/config.rs')
-rw-r--r-- | cli/lsp/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/lsp/config.rs b/cli/lsp/config.rs index 3c360b683..3fded336b 100644 --- a/cli/lsp/config.rs +++ b/cli/lsp/config.rs @@ -1232,7 +1232,7 @@ impl ConfigData { .and_then(|config_file| { config_file .to_fmt_config() - .and_then(|o| FmtOptions::resolve(o, &Default::default(), None)) + .map(|o| FmtOptions::resolve(o, &Default::default())) .inspect_err(|err| { lsp_warn!(" Couldn't read formatter configuration: {}", err) }) @@ -1260,7 +1260,7 @@ impl ConfigData { .and_then(|config_file| { config_file .to_lint_config() - .and_then(|o| LintOptions::resolve(o, Default::default(), None)) + .map(|o| LintOptions::resolve(o, &Default::default())) .inspect_err(|err| { lsp_warn!(" Couldn't read lint configuration: {}", err) }) |