From 7655c5b150ea7ae4b26dc0a87ec1fd2ca37be8b5 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 18 May 2025 23:02:49 +0000 Subject: [PATCH] docs: update Imap.connect() documentation --- src/imap.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/imap.rs b/src/imap.rs index 40d6a982e..448b6abac 100644 --- a/src/imap.rs +++ b/src/imap.rs @@ -285,9 +285,7 @@ impl Imap { Ok(imap) } - /// Connects or reconnects if needed. - /// - /// It is safe to call this function if already connected, actions are performed only as needed. + /// Connects to IMAP server and returns a new IMAP session. /// /// Calling this function is not enough to perform IMAP operations. Use [`Imap::prepare`] /// instead if you are going to actually use connection rather than trying connection