turn hir::ItemKind::Fn into a named-field variant
This commit is contained in:
parent
c528b8c678
commit
be65012aa3
65 changed files with 158 additions and 111 deletions
|
@ -634,7 +634,7 @@ impl<'a> State<'a> {
|
|||
self.word(";");
|
||||
self.end(); // end the outer cbox
|
||||
}
|
||||
hir::ItemKind::Fn(ref sig, generics, body) => {
|
||||
hir::ItemKind::Fn { sig, generics, body, .. } => {
|
||||
self.head("");
|
||||
self.print_fn(
|
||||
sig.decl,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue