docs: update Imap.connect() documentation

This commit is contained in:
link2xt
2025-05-18 23:02:49 +00:00
committed by l
parent 235b625f71
commit 7655c5b150

View File

@@ -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