diff options
Diffstat (limited to 'crates/hir_ty')
-rw-r--r-- | crates/hir_ty/src/display.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir_ty/src/display.rs b/crates/hir_ty/src/display.rs index 19770e609..64b68014d 100644 --- a/crates/hir_ty/src/display.rs +++ b/crates/hir_ty/src/display.rs | |||
@@ -511,6 +511,7 @@ fn write_bounds_like_dyn_trait( | |||
511 | GenericPredicate::Implemented(trait_ref) => { | 511 | GenericPredicate::Implemented(trait_ref) => { |
512 | if angle_open { | 512 | if angle_open { |
513 | write!(f, ">")?; | 513 | write!(f, ">")?; |
514 | angle_open = false; | ||
514 | } | 515 | } |
515 | if !first { | 516 | if !first { |
516 | write!(f, " + ")?; | 517 | write!(f, " + ")?; |