aboutsummaryrefslogtreecommitdiff
path: root/src/mail/mailbox.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-10 17:07:07 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-10 17:07:07 +0100
commit9cec7803d28617f1bfd1ac1621c2eda9582201d4 (patch)
tree46734d3ae0029f4c725df53d383cf918ccb82a04 /src/mail/mailbox.rs
parent96332c9bfe6a9f01e3fdb0b2b565ad669fb526b1 (diff)
downloadaerogramme-9cec7803d28617f1bfd1ac1621c2eda9582201d4.tar.gz
aerogramme-9cec7803d28617f1bfd1ac1621c2eda9582201d4.zip
Implement HIGHESTMODSEQ for STATUS
Diffstat (limited to 'src/mail/mailbox.rs')
-rw-r--r--src/mail/mailbox.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mail/mailbox.rs b/src/mail/mailbox.rs
index 84fa5af..5e95f32 100644
--- a/src/mail/mailbox.rs
+++ b/src/mail/mailbox.rs
@@ -465,6 +465,9 @@ impl MailboxInternal {
}
}
+// Can be useful to debug so we want this code
+// to be available to developers
+#[allow(dead_code)]
fn dump(uid_index: &Bayou<UidIndex>) {
let s = uid_index.state();
println!("---- MAILBOX STATE ----");