From 87b86a7066c320cb388ad4d27f32e7092b56b52f Mon Sep 17 00:00:00 2001 From: joshuacaffey Date: Thu, 2 May 2024 17:34:09 -0500 Subject: [PATCH] Fix typo in docs (#2727) --- axum/src/docs/extract.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axum/src/docs/extract.md b/axum/src/docs/extract.md index 49654289..8ab0e90b 100644 --- a/axum/src/docs/extract.md +++ b/axum/src/docs/extract.md @@ -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` as your extractor like shown in ["Optional