Fix typo on customize-extractor-error example (#2124)

This commit is contained in:
tuhana 2023-07-27 17:03:10 +03:00 committed by GitHub
parent f9ea40bb44
commit 64c566cd1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ already existing extractors
- [`with_rejection`](src/with_rejection.rs): Uses - [`with_rejection`](src/with_rejection.rs): Uses
`axum_extra::extract::WithRejection` to transform one rejection into another `axum_extra::extract::WithRejection` to transform one rejection into another
- [`derive_from_request`](src/derive_from_request.rs): Uses the - [`derive_from_request`](src/derive_from_request.rs): Uses the
`axum::extractr::FromRequest` derive macro to wrap another extractor and `axum::extract::FromRequest` derive macro to wrap another extractor and
customize the rejection customize the rejection
- [`custom_extractor`](src/custom_extractor.rs): Manual implementation of - [`custom_extractor`](src/custom_extractor.rs): Manual implementation of
`FromRequest` that wraps another extractor `FromRequest` that wraps another extractor