rustc_ast_pretty: Remove PrintState::insert_extra_parens
It's no longer necessary after #79472
This commit is contained in:
parent
c8915eebea
commit
f915e3e5cf
4 changed files with 3 additions and 36 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue