fix nightly build

This commit is contained in:
extrawurst 2023-07-18 09:45:05 +02:00
parent 46a039f88f
commit b935df59a1
3 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ impl<'a> PartialEq for TimeOrderedCommit<'a> {
impl<'a> PartialOrd for TimeOrderedCommit<'a> {
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
self.0.time().partial_cmp(&other.0.time())
Some(self.cmp(other))
}
}

View file

@ -202,7 +202,7 @@ impl PartialOrd for FileTreeItem {
&self,
other: &Self,
) -> Option<std::cmp::Ordering> {
self.info.full_path.partial_cmp(&other.info.full_path)
Some(self.cmp(other))
}
}

View file

@ -120,7 +120,7 @@ impl PartialOrd for FileTreeItem {
&self,
other: &Self,
) -> Option<std::cmp::Ordering> {
self.info.full_path.partial_cmp(&other.info.full_path)
Some(self.cmp(other))
}
}