Fallout from renaming
This commit is contained in:
parent
d8dfe1957b
commit
fc525eeb4e
210 changed files with 793 additions and 782 deletions
|
@ -301,7 +301,7 @@ impl<'a> AstBuilder for ExtCtxt<'a> {
|
|||
types: Vec<P<ast::Ty>> )
|
||||
-> ast::Path {
|
||||
let last_identifier = idents.pop().unwrap();
|
||||
let mut segments: Vec<ast::PathSegment> = idents.move_iter()
|
||||
let mut segments: Vec<ast::PathSegment> = idents.into_iter()
|
||||
.map(|ident| {
|
||||
ast::PathSegment {
|
||||
identifier: ident,
|
||||
|
@ -969,7 +969,7 @@ impl<'a> AstBuilder for ExtCtxt<'a> {
|
|||
}
|
||||
|
||||
fn variant(&self, span: Span, name: Ident, tys: Vec<P<ast::Ty>> ) -> ast::Variant {
|
||||
let args = tys.move_iter().map(|ty| {
|
||||
let args = tys.into_iter().map(|ty| {
|
||||
ast::VariantArg { ty: ty, id: ast::DUMMY_NODE_ID }
|
||||
}).collect();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue