File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,15 +20,15 @@ pub use self::{
2020/// type used with axum.
2121pub 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::{
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 ) ]
7171pub struct ErrorResponse ( Response ) ;
7272
You can’t perform that action at this time.
0 commit comments