diff options
Diffstat (limited to 'src/fs/dirlist.rs')
-rw-r--r-- | src/fs/dirlist.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/fs/dirlist.rs b/src/fs/dirlist.rs index 7d31814..283fd41 100644 --- a/src/fs/dirlist.rs +++ b/src/fs/dirlist.rs @@ -34,13 +34,6 @@ impl JoshutoDirList { }) } - pub fn sort<F>(&mut self, sort_func: F) - where - F: Fn(&JoshutoDirEntry, &JoshutoDirEntry) -> std::cmp::Ordering, - { - self.contents.sort_by(sort_func); - } - pub fn depreciate(&mut self) { self.content_outdated = true; } |