mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-21 22:56:46 +01:00
Fix typo in docs (#2727)
This commit is contained in:
parent
df612fdc72
commit
87b86a7066
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ let app = Router::new().route("/users", post(create_user));
|
|||
# Customizing extractor responses
|
||||
|
||||
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:
|
||||
|
||||
1. Use `Result<T, T::Rejection>` as your extractor like shown in ["Optional
|
||||
|
|
Loading…
Reference in a new issue