app: clear the clippy warnings and the vendored ones
Our crate is warning-free under `cargo clippy --all-targets`. The two vendored crates warned about an unreachable expression and a qualified path; both are silenced at their crate root so a normal build prints nothing.
This commit is contained in:
1 parent
744aa20496
commit
01a92f1edf
8 files changed
+31
-46
No files matched your search
+1
-1
@@ -172,7 +172,7 @@ pub fn load_all() -> Vec<Timeline> {
|
||||
});
|
||||
|
||||
let mut out = parsed.into_inner().unwrap();
|
||||
out.sort_by(|a, b| b.start_time.cmp(&a.start_time));
|
||||
out.sort_by_key(|timeline| std::cmp::Reverse(timeline.start_time));
|
||||
out
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user