Skip to content

Commit

Permalink
Fix typo in docs (#2727)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcaffey committed May 2, 2024
1 parent df612fd commit 87b86a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axum/src/docs/extract.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 87b86a7

Please sign in to comment.