Skip to content

Commit 53fa014

Browse files
committed
docs: update Imap.prepare() documentation
1 parent 7655c5b commit 53fa014

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/imap.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -457,10 +457,10 @@ impl Imap {
457457
Err(first_error.unwrap_or_else(|| format_err!("No IMAP connection candidates provided")))
458458
}
459459

460-
/// Prepare for IMAP operation.
460+
/// Prepare a new IMAP session.
461461
///
462-
/// Ensure that IMAP client is connected, folders are created and IMAP capabilities are
463-
/// determined.
462+
/// This creates a new IMAP connection and ensures
463+
/// that folders are created and IMAP capabilities are determined.
464464
pub(crate) async fn prepare(&mut self, context: &Context) -> Result<Session> {
465465
let configuring = false;
466466
let mut session = match self.connect(context, configuring).await {

0 commit comments

Comments
 (0)