diff --git a/crates/rust-analyzer/src/bin/main.rs b/crates/rust-analyzer/src/bin/main.rs index b255a440538..992e174a421 100644 --- a/crates/rust-analyzer/src/bin/main.rs +++ b/crates/rust-analyzer/src/bin/main.rs @@ -246,7 +246,7 @@ fn patch_path_prefix(path: PathBuf) -> PathBuf { format!("{}:", d.to_ascii_uppercase() as char) } Prefix::VerbatimDisk(d) => { - format!(r"\\?\{}:\", d.to_ascii_uppercase() as char) + format!(r"\\?\{}:", d.to_ascii_uppercase() as char) } _ => return path, };