Fix typo in docs (#2727)

This commit is contained in:
joshuacaffey 2024-05-02 17:34:09 -05:00 committed by GitHub
parent df612fdc72
commit 87b86a7066
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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