bug/thunderbird #68

Merged
quentin merged 8 commits from bug/thunderbird into main 2024-01-08 20:34:58 +00:00
Showing only changes of commit 0acbbe66c1 - Show all commits

View file

@ -62,7 +62,7 @@ impl<'a> Index<'a> {
return vec![]; return vec![];
} }
let iter_strat = sequence::Strategy::Naive { let iter_strat = sequence::Strategy::Naive {
largest: self.last().expect("imap index is not empty").uid, largest: self.last().expect("The mailbox is not empty").uid,
}; };
let mut unroll_seq = sequence_set.iter(iter_strat).collect::<Vec<_>>(); let mut unroll_seq = sequence_set.iter(iter_strat).collect::<Vec<_>>();
unroll_seq.sort(); unroll_seq.sort();
@ -104,7 +104,7 @@ impl<'a> Index<'a> {
return Ok(vec![]); return Ok(vec![]);
} }
let iter_strat = sequence::Strategy::Naive { let iter_strat = sequence::Strategy::Naive {
largest: self.last().expect("The mailbox is empty").uid, largest: self.last().expect("The mailbox is not empty").uid,
}; };
sequence_set sequence_set
.iter(iter_strat) .iter(iter_strat)