Normalize implements AsRef

This commit is contained in:
ontley 2024-02-09 16:28:33 +01:00
parent 9909082f08
commit 334af9ce5d

View File

@ -894,7 +894,7 @@ fn start_client(
enable_snippets: bool,
) -> Result<Option<NewClient>> {
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()))