From 334af9ce5d92da48a2c36352c1558e857816cfd7 Mon Sep 17 00:00:00 2001 From: ontley Date: Fri, 9 Feb 2024 16:28:33 +0100 Subject: [PATCH] Normalize implements AsRef --- helix-lsp/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-lsp/src/lib.rs b/helix-lsp/src/lib.rs index 27678b2c1201..05764418f0a2 100644 --- a/helix-lsp/src/lib.rs +++ b/helix-lsp/src/lib.rs @@ -894,7 +894,7 @@ fn start_client( enable_snippets: bool, ) -> Result> { let (workspace, workspace_is_cwd) = helix_loader::find_workspace(); - let workspace = path::normalize(&workspace); + let workspace = path::normalize(workspace); let root = find_lsp_workspace( doc_path .and_then(|x| x.parent().and_then(|x| x.to_str()))