mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 17:28:09 +00:00
Remove root from patched UNC windows path drives
This commit is contained in:
parent
db8f39ce19
commit
9fff960636
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue