mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-29 15:49:16 +01:00
Fix broken docs links (#1332)
This commit is contained in:
parent
eb6451c4fe
commit
f8683f37f8
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ mod private {
|
||||||
///
|
///
|
||||||
/// See [`axum::extract`] for more general docs about extraxtors.
|
/// See [`axum::extract`] for more general docs about extraxtors.
|
||||||
///
|
///
|
||||||
/// [`axum::extract`]: https://docs.rs/axum/0.6/axum/extract/index.html
|
/// [`axum::extract`]: https://docs.rs/axum/0.6.0-rc.1/axum/extract/index.html
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
pub trait FromRequestParts<S>: Sized {
|
pub trait FromRequestParts<S>: Sized {
|
||||||
/// If the extractor fails it'll use this "rejection" type. A rejection is
|
/// If the extractor fails it'll use this "rejection" type. A rejection is
|
||||||
|
@ -98,7 +98,7 @@ pub trait FromRequestParts<S>: Sized {
|
||||||
/// This ensures your extractor is as flexible as possible.
|
/// This ensures your extractor is as flexible as possible.
|
||||||
///
|
///
|
||||||
/// [`http::Request<B>`]: http::Request
|
/// [`http::Request<B>`]: http::Request
|
||||||
/// [`axum::extract`]: https://docs.rs/axum/0.6/axum/extract/index.html
|
/// [`axum::extract`]: https://docs.rs/axum/0.6.0-rc.1/axum/extract/index.html
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
pub trait FromRequest<S, B, M = private::ViaRequest>: Sized {
|
pub trait FromRequest<S, B, M = private::ViaRequest>: Sized {
|
||||||
/// If the extractor fails it'll use this "rejection" type. A rejection is
|
/// If the extractor fails it'll use this "rejection" type. A rejection is
|
||||||
|
|
Loading…
Reference in a new issue