Fix typo in docs (#2727)

This commit is contained in:
joshuacaffey
2024-05-02 18:34:09 -04:00
committed by GitHub
parent df612fdc72
commit 87b86a7066
+1 -1
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