mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 11:20:54 +00:00
Merge pull request #20228 from ChayimFriedman2/fix-use-display
fix: Fix display of `use<>` syntax
This commit is contained in:
commit
e2c8cefa63
@ -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…
x
Reference in New Issue
Block a user