mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
parent
b3ef934ccb
commit
25242fe93f
395 changed files with 14569 additions and 5755 deletions
|
@ -364,7 +364,7 @@ impl VirtualPath {
|
|||
path = &path["../".len()..];
|
||||
}
|
||||
path = path.trim_start_matches("./");
|
||||
res.0 = format!("{}/{}", res.0, path);
|
||||
res.0 = format!("{}/{path}", res.0);
|
||||
Some(res)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue