From 0acbbe66c1f05f380caa8abe293ef273d347ba81 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 8 Jan 2024 14:05:44 +0100 Subject: Fix wording in expectations --- src/imap/index.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/imap') diff --git a/src/imap/index.rs b/src/imap/index.rs index fbd871a..f9228fe 100644 --- a/src/imap/index.rs +++ b/src/imap/index.rs @@ -62,7 +62,7 @@ impl<'a> Index<'a> { return vec![]; } 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::>(); unroll_seq.sort(); @@ -104,7 +104,7 @@ impl<'a> Index<'a> { return Ok(vec![]); } 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 .iter(iter_strat) -- cgit v1.2.3