Skip to content

Commit d450449

Browse files
committed
chore: fix clippy warnings
1 parent 1ad375c commit d450449

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

src/client.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ impl<T: Read + Write + Unpin + fmt::Debug> AsMut<T> for Session<T> {
5959
}
6060
}
6161

62-
/// An (unauthenticated) handle to talk to an IMAP server. This is what you get when first
62+
/// An (unauthenticated) handle to talk to an IMAP server.
63+
///
64+
/// This is what you get when first
6365
/// connecting. A succesfull call to [`Client::login`] or [`Client::authenticate`] will return a
6466
/// [`Session`] instance that provides the usual IMAP methods.
6567
// Both `Client` and `Session` deref to [`Connection`](struct.Connection.html), the underlying

src/types/fetch.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ use crate::types::ResponseData;
1212
const DATE_TIME_FORMAT: &str = "%d-%b-%Y %H:%M:%S %z";
1313

1414
/// An IMAP [`FETCH` response](https://tools.ietf.org/html/rfc3501#section-7.4.2) that contains
15-
/// data about a particular message. This response occurs as the result of a `FETCH` or `STORE`
15+
/// data about a particular message.
16+
///
17+
/// This response occurs as the result of a `FETCH` or `STORE`
1618
/// command, as well as by unilateral server decision (e.g., flag updates).
1719
#[derive(Debug)]
1820
pub struct Fetch {

src/types/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ pub type Uid = u32;
105105
/// messages which have greater UIDs.
106106
pub type Seq = u32;
107107

108+
/// Message flags.
109+
///
108110
/// With the exception of [`Flag::Custom`], these flags are system flags that are pre-defined in
109111
/// [RFC 3501 section 2.3.2](https://tools.ietf.org/html/rfc3501#section-2.3.2). All system flags
110112
/// begin with `\` in the IMAP protocol. Certain system flags (`\Deleted` and `\Seen`) have
@@ -217,6 +219,7 @@ mod quota;
217219
pub use self::quota::*;
218220

219221
/// Responses that the server sends that are not related to the current command.
222+
///
220223
/// [RFC 3501](https://tools.ietf.org/html/rfc3501#section-7) states that clients need to be able
221224
/// to accept any response at any time. These are the ones we've encountered in the wild.
222225
///

0 commit comments

Comments
 (0)