Skip to content

Commit cce2b5a

Browse files
committed
docs: use backticks for all type links
Signed-off-by: Nathaniel McCallum <nathaniel@profian.com>
1 parent af91968 commit cce2b5a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

axum-core/src/response/mod.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ pub use self::{
2020
/// type used with axum.
2121
pub type Response<T = BoxBody> = http::Response<T>;
2222

23-
/// A flexible [IntoResponse]-based result type
23+
/// A flexible [`IntoResponse`]-based result type
2424
///
25-
/// All types which implement [IntoResponse] can be converted to an [ErrorResponse].
25+
/// All types which implement [`IntoResponse`] can be converted to an [`ErrorResponse`].
2626
/// This makes it useful as a general error type for functions which combine
27-
/// multiple distinct error types but all of which implement [IntoResponse].
27+
/// multiple distinct error types but all of which implement [`IntoResponse`].
2828
///
2929
/// For example, note that the error types below differ. However, both can be
30-
/// used with the [Result], and therefore the `?` operator, since they both
31-
/// implement [IntoResponse].
30+
/// used with the [`Result`], and therefore the `?` operator, since they both
31+
/// implement [`IntoResponse`].
3232
///
3333
/// ```no_run
3434
/// use axum::{
@@ -64,9 +64,9 @@ where
6464
}
6565
}
6666

67-
/// An [IntoResponse]-based error type
67+
/// An [`IntoResponse`]-based error type
6868
///
69-
/// See [Result] for more details.
69+
/// See [`Result`] for more details.
7070
#[derive(Debug)]
7171
pub struct ErrorResponse(Response);
7272

0 commit comments

Comments
 (0)