From 0ab1ff92b951687176fc2b9f39db46baaf159896 Mon Sep 17 00:00:00 2001 From: Mathijs van de Nes Date: Thu, 25 Dec 2014 11:54:26 +0100 Subject: [PATCH] std::slice::Items -> Iter --- src/reader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reader.rs b/src/reader.rs index c4e94aed..5c0126cd 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -73,7 +73,7 @@ impl ZipReader } /// An iterator over the information of all contained files. - pub fn files(&self) -> ::std::slice::Items + pub fn files(&self) -> ::std::slice::Iter { self.files.as_slice().iter() }