Auto merge of #90668 - matthiaskrgr:clippy_nov7, r=jyn514

more clippy fixes
This commit is contained in:
bors 2021-11-07 20:04:54 +00:00
commit 46b8e7488e
27 changed files with 140 additions and 184 deletions

View file

@ -1438,11 +1438,7 @@ impl<'a> State<'a> {
}
}
crate fn print_record_struct_body(
&mut self,
fields: &Vec<ast::FieldDef>,
span: rustc_span::Span,
) {
crate fn print_record_struct_body(&mut self, fields: &[ast::FieldDef], span: rustc_span::Span) {
self.nbsp();
self.bopen();
self.hardbreak_if_not_bol();