syntax: rename TypeMethod to MethodSig and use it in MethDecl.
This commit is contained in:
parent
f98b176314
commit
ce10fa8d12
28 changed files with 288 additions and 510 deletions
|
|
@ -162,7 +162,7 @@ impl<'a> FnLikeNode<'a> {
|
|||
|
||||
pub fn decl(self) -> &'a FnDecl {
|
||||
self.handle(|i: ItemFnParts<'a>| &*i.decl,
|
||||
|_, _, m: &'a ast::Method, _| m.pe_fn_decl(),
|
||||
|_, _, m: &'a ast::Method, _| &m.pe_sig().decl,
|
||||
|c: ClosureParts<'a>| c.decl)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue