Skip to content

Commit 7655c5b

Browse files
committed
docs: update Imap.connect() documentation
1 parent 235b625 commit 7655c5b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/imap.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,7 @@ impl Imap {
285285
Ok(imap)
286286
}
287287

288-
/// Connects or reconnects if needed.
289-
///
290-
/// It is safe to call this function if already connected, actions are performed only as needed.
288+
/// Connects to IMAP server and returns a new IMAP session.
291289
///
292290
/// Calling this function is not enough to perform IMAP operations. Use [`Imap::prepare`]
293291
/// instead if you are going to actually use connection rather than trying connection

0 commit comments

Comments
 (0)