Fix broken docs links (#1332)

This commit is contained in:
Liigo Zhuang 2022-08-26 17:30:38 +08:00 committed by GitHub
parent eb6451c4fe
commit f8683f37f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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