diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2015-03-11 08:38:27 +0200 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2015-03-11 23:39:16 +0200 |
| commit | ce10fa8d12cb20d9eee59fffeeaadfcca8badf4a (patch) | |
| tree | c39add1b10d1a2f80d727c3f6db839760a525b97 /src/libsyntax/ast_map | |
| parent | f98b1763140e4c9b0f122bde2f5cbd24227554a2 (diff) | |
| download | rust-ce10fa8d12cb20d9eee59fffeeaadfcca8badf4a.tar.gz rust-ce10fa8d12cb20d9eee59fffeeaadfcca8badf4a.zip | |
syntax: rename TypeMethod to MethodSig and use it in MethDecl.
Diffstat (limited to 'src/libsyntax/ast_map')
| -rw-r--r-- | src/libsyntax/ast_map/blocks.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast_map/blocks.rs b/src/libsyntax/ast_map/blocks.rs index 053c3153340..345ccf902cd 100644 --- a/src/libsyntax/ast_map/blocks.rs +++ b/src/libsyntax/ast_map/blocks.rs @@ -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) } |
