summaryrefslogtreecommitdiffstats
path: root/src/fs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2020-03-16 16:14:17 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2020-03-16 16:14:17 -0400
commitc6edd4e5d5cbcbc16063a10181aee9626822d273 (patch)
tree5524d52e5fb6f288be943c4882973dd1839a95f3 /src/fs
parent50f67156b783c3f533214ddfa8e79bd979d76278 (diff)
better error handling for threads
- code cleanup
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/dirlist.rs7
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;
}