From 07ff10e550a589871399801b1245b4a45c7b08ee Mon Sep 17 00:00:00 2001 From: Ben S Date: Tue, 12 May 2015 15:37:59 +0100 Subject: [PATCH] Lifetime-eliding action! --- src/options.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/options.rs b/src/options.rs index 1fb843f..a93a51d 100644 --- a/src/options.rs +++ b/src/options.rs @@ -121,14 +121,14 @@ impl Options { }, path_strs)) } - pub fn transform_files<'a>(&self, files: &mut Vec>) { + pub fn transform_files(&self, files: &mut Vec) { self.filter.transform_files(files) } } impl FileFilter { /// Transform the files (sorting, reversing, filtering) before listing them. - pub fn transform_files<'a>(&self, files: &mut Vec>) { + pub fn transform_files(&self, files: &mut Vec) { if !self.show_invisibles { files.retain(|f| !f.is_dotfile());