From 057e099f4c73e4a861680077b8d900d0840f75d9 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 caaab06d..07c322e9 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); }