Fix doc warnings. (#198)

This commit is contained in:
mordak 2021-05-07 21:07:34 -05:00 committed by GitHub
parent 1db492ed3b
commit c443a3ab5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -78,7 +78,7 @@ pub enum Error {
Append, Append,
/// An unexpected response was received. This could be a response from a command, /// An unexpected response was received. This could be a response from a command,
/// or an unsolicited response that could not be converted into a local type in /// or an unsolicited response that could not be converted into a local type in
/// [`UnsolicitedResponse`]. /// [`UnsolicitedResponse`](crate::types::UnsolicitedResponse).
Unexpected(Response<'static>), Unexpected(Response<'static>),
} }

View file

@ -21,7 +21,8 @@ impl<'c> fmt::Display for SortCriteria<'c> {
} }
} }
/// Message sorting preferences used for [`Session::sort`] and [`Session::uid_sort`]. /// Message sorting preferences used for [`Session::sort`](crate::Session::sort)
/// and [`Session::uid_sort`](crate::Session::uid_sort).
/// ///
/// Any sorting criterion that refers to an address (`From`, `To`, etc.) sorts according to the /// Any sorting criterion that refers to an address (`From`, `To`, etc.) sorts according to the
/// "addr-mailbox" of the indicated address. You can find the formal syntax for addr-mailbox [in /// "addr-mailbox" of the indicated address. You can find the formal syntax for addr-mailbox [in