mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-16 01:38:13 +00:00
Auto merge of #14799 - mataha:fix/root-in-verbatim-prefix, r=Veykril
Remove root component from patched Windows UNC path prefix As it shouldn't be there to begin with (per discussion in #14689).
This commit is contained in:
commit
f38264fa56
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