Remove lifetimes as they aren't needed

This commit is contained in:
Daniel Lockyer 2017-03-31 17:12:20 +01:00
parent 79b4f1a6ee
commit cc4a65ac4b

View File

@ -45,7 +45,7 @@ impl Dir {
/// Produce an iterator of IO results of trying to read all the files in
/// this directory.
pub fn files<'dir>(&'dir self) -> Files<'dir> {
pub fn files(&self) -> Files {
Files {
inner: self.contents.iter(),
dir: self,