Skip to content

Commit 9fff960

Browse files
authored
Remove root from patched UNC windows path drives
1 parent db8f39c commit 9fff960

File tree

1 file changed

+1
-1
lines changed
  • crates/rust-analyzer/src/bin

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/bin/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ fn patch_path_prefix(path: PathBuf) -> PathBuf {
246246
format!("{}:", d.to_ascii_uppercase() as char)
247247
}
248248
Prefix::VerbatimDisk(d) => {
249-
format!(r"\\?\{}:\", d.to_ascii_uppercase() as char)
249+
format!(r"\\?\{}:", d.to_ascii_uppercase() as char)
250250
}
251251
_ => return path,
252252
};

0 commit comments

Comments
 (0)