Fix display of use<> syntax
This commit is contained in:
parent
4b506ca0e1
commit
e6a8a133bf
1 changed files with 1 additions and 0 deletions
|
|
@ -2328,6 +2328,7 @@ impl HirDisplayWithExpressionStore for TypeBound {
|
|||
store[*path].hir_fmt(f, store)
|
||||
}
|
||||
TypeBound::Use(args) => {
|
||||
write!(f, "use<")?;
|
||||
let edition = f.edition();
|
||||
let last = args.len().saturating_sub(1);
|
||||
for (idx, arg) in args.iter().enumerate() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue