aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-08 14:05:44 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-08 14:05:44 +0100
commit0acbbe66c1f05f380caa8abe293ef273d347ba81 (patch)
tree9abb2967a0bb02d052daaa3225d2ef4e6c53fd85
parent4d1ec3333404de92be98f80239fc5175decc0d4b (diff)
downloadaerogramme-0acbbe66c1f05f380caa8abe293ef273d347ba81.tar.gz
aerogramme-0acbbe66c1f05f380caa8abe293ef273d347ba81.zip
Fix wording in expectations
-rw-r--r--src/imap/index.rs4
1 files changed, 2 insertions, 2 deletions
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::<Vec<_>>();
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)