We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
clone
1 parent dbe04c9 commit 4d3045cCopy full SHA for 4d3045c
1 file changed
src/language_servers/config.rs
@@ -10,7 +10,7 @@ pub(super) fn get_initialization_options(
10
) -> Option<Value> {
11
LspSettings::for_worktree(language_server_id, worktree)
12
.ok()
13
- .and_then(|lsp_settings| lsp_settings.initialization_options.clone())
+ .and_then(|lsp_settings| lsp_settings.initialization_options)
14
}
15
16
pub(super) fn get_workspace_configuration(
@@ -19,7 +19,7 @@ pub(super) fn get_workspace_configuration(
19
20
21
22
- .and_then(|lsp_settings| lsp_settings.settings.clone())
+ .and_then(|lsp_settings| lsp_settings.settings)
23
24
25
pub(super) fn get_binary_settings(
0 commit comments