bug/thunderbird #68
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue