aboutsummaryrefslogtreecommitdiff
path: root/aero-collections/src/mail
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-04-04 15:40:26 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-04-04 15:40:26 +0200
commit054bd52279faefd327be092ea7ec13f75f0a6163 (patch)
treee359da40785cae037204709e2d6dc09b9c9b8f14 /aero-collections/src/mail
parent272b93f04a0640e056fe994f48cb2837eacdad46 (diff)
downloadaerogramme-054bd52279faefd327be092ea7ec13f75f0a6163.tar.gz
aerogramme-054bd52279faefd327be092ea7ec13f75f0a6163.zip
Implement diff
Diffstat (limited to 'aero-collections/src/mail')
-rw-r--r--aero-collections/src/mail/mailbox.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/aero-collections/src/mail/mailbox.rs b/aero-collections/src/mail/mailbox.rs
index f797be6..fcdb21e 100644
--- a/aero-collections/src/mail/mailbox.rs
+++ b/aero-collections/src/mail/mailbox.rs
@@ -375,7 +375,7 @@ impl MailboxInternal {
async fn delete(&mut self, ident: UniqueIdent) -> Result<()> {
if !self.uid_index.state().table.contains_key(&ident) {
- bail!("Cannot delete mail that doesn't exit");
+ bail!("Cannot delete mail that doesn't exist");
}
let del_mail_op = self.uid_index.state().op_mail_del(ident);