diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-03-07 03:10:52 +0100 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-03-12 08:02:32 +0100 |
| commit | 189c0085d19c2cbd8e3b6ca8274e2cab60aad515 (patch) | |
| tree | 4fa2100ae551ed65fbf4c138dd9c53253229f559 /src/libsyntax/ext | |
| parent | 460ca4f037e4896f103889b694dd2971e3141eac (diff) | |
| download | rust-189c0085d19c2cbd8e3b6ca8274e2cab60aad515.tar.gz rust-189c0085d19c2cbd8e3b6ca8274e2cab60aad515.zip | |
alpha-rename .ident to .name in Lifetime, including in rustdoc.
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/build.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/build.rs b/src/libsyntax/ext/build.rs index 8296ee34c54..e644eca8f7d 100644 --- a/src/libsyntax/ext/build.rs +++ b/src/libsyntax/ext/build.rs @@ -413,8 +413,8 @@ impl<'a> AstBuilder for ExtCtxt<'a> { ast::TraitTyParamBound(self.trait_ref(path)) } - fn lifetime(&self, span: Span, ident: ast::Name) -> ast::Lifetime { - ast::Lifetime { id: ast::DUMMY_NODE_ID, span: span, ident: ident } + fn lifetime(&self, span: Span, name: ast::Name) -> ast::Lifetime { + ast::Lifetime { id: ast::DUMMY_NODE_ID, span: span, name: name } } fn stmt_expr(&self, expr: @ast::Expr) -> @ast::Stmt { |
