mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Make ModPath
display escaped path
This commit is contained in:
parent
8fe73a2240
commit
018266a7ff
4 changed files with 9 additions and 9 deletions
|
@ -73,7 +73,7 @@ fn render(
|
|||
None => (name.clone().into(), name.into(), false),
|
||||
};
|
||||
let (qualified_name, escaped_qualified_name) =
|
||||
(qualified_name.to_string(), qualified_name.escaped().to_string());
|
||||
(qualified_name.unescaped().to_string(), qualified_name.to_string());
|
||||
let snippet_cap = ctx.snippet_cap();
|
||||
|
||||
let mut rendered = match kind {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue