Skip to content

Commit 1d3ca1d

Browse files
Fix display of use<> syntax
1 parent 3816d0a commit 1d3ca1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/hir-ty/src/display.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2328,6 +2328,7 @@ impl HirDisplayWithExpressionStore for TypeBound {
23282328
store[*path].hir_fmt(f, store)
23292329
}
23302330
TypeBound::Use(args) => {
2331+
write!(f, "use<")?;
23312332
let edition = f.edition();
23322333
let last = args.len().saturating_sub(1);
23332334
for (idx, arg) in args.iter().enumerate() {

0 commit comments

Comments
 (0)