aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/item_tree/pretty.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir_def/src/item_tree/pretty.rs')
-rw-r--r--crates/hir_def/src/item_tree/pretty.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/crates/hir_def/src/item_tree/pretty.rs b/crates/hir_def/src/item_tree/pretty.rs
index 53631ab19..d1ee697cb 100644
--- a/crates/hir_def/src/item_tree/pretty.rs
+++ b/crates/hir_def/src/item_tree/pretty.rs
@@ -345,7 +345,6 @@ impl<'a> Printer<'a> {
345 visibility, 345 visibility,
346 is_auto, 346 is_auto,
347 is_unsafe, 347 is_unsafe,
348 bounds,
349 items, 348 items,
350 generic_params, 349 generic_params,
351 ast_id: _, 350 ast_id: _,
@@ -359,10 +358,6 @@ impl<'a> Printer<'a> {
359 } 358 }
360 w!(self, "trait {}", name); 359 w!(self, "trait {}", name);
361 self.print_generic_params(generic_params); 360 self.print_generic_params(generic_params);
362 if !bounds.is_empty() {
363 w!(self, ": ");
364 self.print_type_bounds(bounds);
365 }
366 self.print_where_clause_and_opening_brace(generic_params); 361 self.print_where_clause_and_opening_brace(generic_params);
367 self.indented(|this| { 362 self.indented(|this| {
368 for item in &**items { 363 for item in &**items {