We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PrintState::generic_params_to_string
1 parent 48875f0 commit a4869b1Copy full SHA for a4869b1
compiler/rustc_ast_pretty/src/pprust/state.rs
@@ -886,10 +886,6 @@ pub trait PrintState<'a>: std::ops::Deref<Target = pp::Printer> + std::ops::Dere
886
Self::to_string(|s| s.print_foreign_item(i))
887
}
888
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
-
893
fn path_to_string(&self, p: &ast::Path) -> String {
894
Self::to_string(|s| s.print_path(p, false, 0))
895
0 commit comments