Skip to content

Commit c443a3a

Browse files
authored
Fix doc warnings. (#198)
1 parent 1db492e commit c443a3a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub enum Error {
7878
Append,
7979
/// An unexpected response was received. This could be a response from a command,
8080
/// or an unsolicited response that could not be converted into a local type in
81-
/// [`UnsolicitedResponse`].
81+
/// [`UnsolicitedResponse`](crate::types::UnsolicitedResponse).
8282
Unexpected(Response<'static>),
8383
}
8484

src/extensions/sort.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ impl<'c> fmt::Display for SortCriteria<'c> {
2121
}
2222
}
2323

24-
/// Message sorting preferences used for [`Session::sort`] and [`Session::uid_sort`].
24+
/// Message sorting preferences used for [`Session::sort`](crate::Session::sort)
25+
/// and [`Session::uid_sort`](crate::Session::uid_sort).
2526
///
2627
/// Any sorting criterion that refers to an address (`From`, `To`, etc.) sorts according to the
2728
/// "addr-mailbox" of the indicated address. You can find the formal syntax for addr-mailbox [in

0 commit comments

Comments
 (0)