1
Fork 0

Renaming of the Iter types as in RFC #344

libcore: slice::Items -> slice::Iter, slice::MutItems -> slice::IterMut
libcollections: *::Items -> *::Iter, *::MoveItems -> *::IntoIter, *::MutItems -> *::IterMut

This is of course a [breaking-change].
This commit is contained in:
Florian Wilkens 2014-12-19 21:52:10 +01:00
parent 34d6800092
commit f8cfd2480b
26 changed files with 173 additions and 175 deletions

View file

@ -766,7 +766,7 @@ impl<'a> MethodDef<'a> {
let fields = if raw_fields.len() > 0 {
let mut raw_fields = raw_fields.into_iter().map(|v| v.into_iter());
let first_field = raw_fields.next().unwrap();
let mut other_fields: Vec<vec::MoveItems<(Span, Option<Ident>, P<Expr>)>>
let mut other_fields: Vec<vec::IntoIter<(Span, Option<Ident>, P<Expr>)>>
= raw_fields.collect();
first_field.map(|(span, opt_id, field)| {
FieldInfo {