From 53fa0147ae1eecfc6da22d74668854f0e6fc5a4c Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 18 May 2025 23:02:49 +0000 Subject: [PATCH] docs: update Imap.prepare() documentation --- src/imap.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/imap.rs b/src/imap.rs index 448b6abac..85a62cf2d 100644 --- a/src/imap.rs +++ b/src/imap.rs @@ -457,10 +457,10 @@ impl Imap { Err(first_error.unwrap_or_else(|| format_err!("No IMAP connection candidates provided"))) } - /// Prepare for IMAP operation. + /// Prepare a new IMAP session. /// - /// Ensure that IMAP client is connected, folders are created and IMAP capabilities are - /// determined. + /// This creates a new IMAP connection and ensures + /// that folders are created and IMAP capabilities are determined. pub(crate) async fn prepare(&mut self, context: &Context) -> Result { let configuring = false; let mut session = match self.connect(context, configuring).await {