std::slice::Items -> Iter

This commit is contained in:
Mathijs van de Nes 2014-12-25 11:54:26 +01:00
parent 7361b9e415
commit 0ab1ff92b9

View file

@ -73,7 +73,7 @@ impl<T: Reader+Seek> ZipReader<T>
}
/// An iterator over the information of all contained files.
pub fn files(&self) -> ::std::slice::Items<ZipFile>
pub fn files(&self) -> ::std::slice::Iter<ZipFile>
{
self.files.as_slice().iter()
}