ast::ItemKind::Fn: use ast::FnSig
This commit is contained in:
parent
2cd48e8a3b
commit
b4c6abcf9e
16 changed files with 51 additions and 63 deletions
|
@ -2433,7 +2433,7 @@ pub enum ItemKind {
|
|||
/// A function declaration (`fn`).
|
||||
///
|
||||
/// E.g., `fn foo(bar: usize) -> usize { .. }`.
|
||||
Fn(P<FnDecl>, FnHeader, Generics, P<Block>),
|
||||
Fn(FnSig, Generics, P<Block>),
|
||||
/// A module declaration (`mod`).
|
||||
///
|
||||
/// E.g., `mod foo;` or `mod foo { .. }`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue