From 59d6a7b31a9653ba719c93846cae3a01b76c1adb Mon Sep 17 00:00:00 2001 From: Jerry Wang Date: Fri, 19 May 2023 01:37:21 -0700 Subject: [PATCH] Fix a typo in `axum::extract::rejection::FailedToDeserializeQueryString` documentation (#2009) --- axum/src/extract/rejection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axum/src/extract/rejection.rs b/axum/src/extract/rejection.rs index 6a395f5b..2ef75f97 100644 --- a/axum/src/extract/rejection.rs +++ b/axum/src/extract/rejection.rs @@ -93,7 +93,7 @@ define_rejection! { #[status = BAD_REQUEST] #[body = "Failed to deserialize query string"] /// Rejection type used if the [`Query`](super::Query) extractor is unable to - /// deserialize the form into the target type. + /// deserialize the query string into the target type. pub struct FailedToDeserializeQueryString(Error); }