mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-26 22:06:26 +00:00
Lifetime-eliding action!
This commit is contained in:
parent
c938c699ec
commit
07ff10e550
@ -121,14 +121,14 @@ impl Options {
|
||||
}, path_strs))
|
||||
}
|
||||
|
||||
pub fn transform_files<'a>(&self, files: &mut Vec<File<'a>>) {
|
||||
pub fn transform_files(&self, files: &mut Vec<File>) {
|
||||
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<File<'a>>) {
|
||||
pub fn transform_files(&self, files: &mut Vec<File>) {
|
||||
|
||||
if !self.show_invisibles {
|
||||
files.retain(|f| !f.is_dotfile());
|
||||
|
Loading…
Reference in New Issue
Block a user