Skip to content

Commit 4c972d6

Browse files
committed
chore: fix doc warnings
1 parent 9d4fe39 commit 4c972d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
//! ## Error handling
5959
//!
6060
//! `axum` requires that middleware do not return errors, and that the errors returned by extractors
61-
//! implement `IntoResponse`. By default, [`Error`](Error) is used by [`Layer`] and [`Tx`] to
61+
//! implement `IntoResponse`. By default, [`Error`] is used by [`Layer`] and [`Tx`] to
6262
//! convert errors into HTTP 500 responses, with the error's `Display` value as the response body,
6363
//! however it's generally not a good practice to return internal error details to clients!
6464
//!
@@ -154,7 +154,7 @@ pub use crate::{
154154
/// ```
155155
#[derive(Debug, thiserror::Error)]
156156
pub enum Error {
157-
/// Indicates that the [`Layer`](crate::Layer) middleware was not installed.
157+
/// Indicates that the [`Layer`] middleware was not installed.
158158
#[error("required extension not registered; did you add the axum_sqlx_tx::Layer middleware?")]
159159
MissingExtension,
160160

0 commit comments

Comments
 (0)