mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-09 00:00:12 +02:00
Fix typo in docs (#2727)
This commit is contained in:
@@ -284,7 +284,7 @@ let app = Router::new().route("/users", post(create_user));
|
|||||||
# Customizing extractor responses
|
# Customizing extractor responses
|
||||||
|
|
||||||
If an extractor fails it will return a response with the error and your
|
If an extractor fails it will return a response with the error and your
|
||||||
handler will not be called. To customize the error response you have a two
|
handler will not be called. To customize the error response you have two
|
||||||
options:
|
options:
|
||||||
|
|
||||||
1. Use `Result<T, T::Rejection>` as your extractor like shown in ["Optional
|
1. Use `Result<T, T::Rejection>` as your extractor like shown in ["Optional
|
||||||
|
|||||||
Reference in New Issue
Block a user