1
Fork 0

alpha-rename .ident to .name in Lifetime, including in rustdoc.

This commit is contained in:
Felix S. Klock II 2014-03-07 03:10:52 +01:00
parent 460ca4f037
commit 189c0085d1
11 changed files with 29 additions and 29 deletions

View file

@ -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 {