hir: simplify fmt::Debug for hir::Path
This commit is contained in:
parent
58a2267c15
commit
5ea0e0d1aa
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ impl Path {
|
|||
|
||||
impl fmt::Debug for Path {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
write!(f, "path({})", print::to_string(print::NO_ANN, |s| s.print_path(self, false)))
|
||||
write!(f, "path({})", self)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue