Fix typo in extractors docs (#1852)

This commit is contained in:
Fredrik Enestad 2023-03-14 18:14:26 +01:00 committed by GitHub
parent 6377dbebc0
commit eb49ea4bc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ mod private {
/// If your extractor needs to consume the request body then you should implement [`FromRequest`] /// If your extractor needs to consume the request body then you should implement [`FromRequest`]
/// and not [`FromRequestParts`]. /// and not [`FromRequestParts`].
/// ///
/// See [`axum::extract`] for more general docs about extraxtors. /// See [`axum::extract`] for more general docs about extractors.
/// ///
/// [`axum::extract`]: https://docs.rs/axum/0.6.0/axum/extract/index.html /// [`axum::extract`]: https://docs.rs/axum/0.6.0/axum/extract/index.html
#[async_trait] #[async_trait]
@ -62,7 +62,7 @@ pub trait FromRequestParts<S>: Sized {
/// If your extractor doesn't need to consume the request body then you should implement /// If your extractor doesn't need to consume the request body then you should implement
/// [`FromRequestParts`] and not [`FromRequest`]. /// [`FromRequestParts`] and not [`FromRequest`].
/// ///
/// See [`axum::extract`] for more general docs about extraxtors. /// See [`axum::extract`] for more general docs about extractors.
/// ///
/// # What is the `B` type parameter? /// # What is the `B` type parameter?
/// ///