mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-28 05:20:46 +00:00
Fix typo in docs (#2727)
This commit is contained in:
parent
df612fdc72
commit
87b86a7066
@ -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…
x
Reference in New Issue
Block a user