From 2bb50e7db2075fdcb6b4f1d919cb387def408252 Mon Sep 17 00:00:00 2001 From: Jerry Wang Date: Wed, 17 May 2023 23:01:44 -0700 Subject: [PATCH] Fix a typo in `axum::extract::rejection::FailedToDeserializeQueryString` documentation --- 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 6a395f5b29..2ef75f9761 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); }