1
Fork 0

Remove hir::Param::attrs.

This commit is contained in:
Camille GILLOT 2020-11-26 23:51:27 +01:00
parent 96788df68c
commit a0a4611a81
4 changed files with 3 additions and 5 deletions

View file

@ -2032,7 +2032,7 @@ impl<'a> State<'a> {
}
pub fn print_param(&mut self, arg: &hir::Param<'_>) {
self.print_outer_attributes(&arg.attrs);
self.print_outer_attributes(self.attrs(arg.hir_id));
self.print_pat(&arg.pat);
}