Remove unused PrintState::generic_params_to_string
method.
This commit is contained in:
parent
d9443f71c7
commit
c6a9027102
@ -886,10 +886,6 @@ pub trait PrintState<'a>: std::ops::Deref<Target = pp::Printer> + std::ops::Dere
|
|||||||
Self::to_string(|s| s.print_foreign_item(i))
|
Self::to_string(|s| s.print_foreign_item(i))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn generic_params_to_string(&self, generic_params: &[ast::GenericParam]) -> String {
|
|
||||||
Self::to_string(|s| s.print_generic_params(generic_params))
|
|
||||||
}
|
|
||||||
|
|
||||||
fn path_to_string(&self, p: &ast::Path) -> String {
|
fn path_to_string(&self, p: &ast::Path) -> String {
|
||||||
Self::to_string(|s| s.print_path(p, false, 0))
|
Self::to_string(|s| s.print_path(p, false, 0))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user