mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-19 08:40:24 +00:00
Remove EscapedName
This commit is contained in:
parent
53ec791dc6
commit
4322cf7f5b
11 changed files with 26 additions and 73 deletions
|
@ -134,9 +134,9 @@ impl ModPath {
|
|||
}
|
||||
first_segment = false;
|
||||
if escaped {
|
||||
segment.escaped().fmt(f)?
|
||||
} else {
|
||||
segment.fmt(f)?
|
||||
} else {
|
||||
segment.unescaped().fmt(f)?
|
||||
};
|
||||
}
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue