mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 15:17:18 +01:00
Fix typo in extractors docs (#1852)
This commit is contained in:
parent
6377dbebc0
commit
eb49ea4bc1
1 changed files with 2 additions and 2 deletions
|
@ -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?
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue