1
Fork 0

rustc_ast_pretty: Remove PrintState::insert_extra_parens

It's no longer necessary after #79472
This commit is contained in:
Vadim Petrochenkov 2021-01-07 17:58:05 +03:00
parent c8915eebea
commit f915e3e5cf
4 changed files with 3 additions and 36 deletions

View file

@ -138,9 +138,6 @@ impl std::ops::DerefMut for State<'_> {
}
impl<'a> PrintState<'a> for State<'a> {
fn insert_extra_parens(&self) -> bool {
true
}
fn comments(&mut self) -> &mut Option<Comments<'a>> {
&mut self.comments
}