Skip to content

Commit c6a9027

Browse files
committed
Remove unused PrintState::generic_params_to_string method.
1 parent d9443f7 commit c6a9027

File tree

1 file changed

+0
-4
lines changed
  • compiler/rustc_ast_pretty/src/pprust

1 file changed

+0
-4
lines changed

compiler/rustc_ast_pretty/src/pprust/state.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -886,10 +886,6 @@ pub trait PrintState<'a>: std::ops::Deref<Target = pp::Printer> + std::ops::Dere
886886
Self::to_string(|s| s.print_foreign_item(i))
887887
}
888888

889-
fn generic_params_to_string(&self, generic_params: &[ast::GenericParam]) -> String {
890-
Self::to_string(|s| s.print_generic_params(generic_params))
891-
}
892-
893889
fn path_to_string(&self, p: &ast::Path) -> String {
894890
Self::to_string(|s| s.print_path(p, false, 0))
895891
}

0 commit comments

Comments
 (0)