mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-02 00:00:22 +02:00
Fix typo in extractors docs (#1852)
This commit is contained in:
@@ -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?
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user