mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-17 00:00:16 +02:00
Update documentation for FailedToDeserializeQueryString response type (#1795)
This commit is contained in:
@@ -46,8 +46,8 @@ use std::{fmt, ops::Deref};
|
||||
/// # };
|
||||
/// ```
|
||||
///
|
||||
/// If the query string cannot be parsed it will reject the request with a `422
|
||||
/// Unprocessable Entity` response.
|
||||
/// If the query string cannot be parsed it will reject the request with a `400
|
||||
/// Bad Request` response.
|
||||
///
|
||||
/// For handling values being empty vs missing see the [query-params-with-empty-strings][example]
|
||||
/// example.
|
||||
|
||||
@@ -38,8 +38,8 @@ use std::ops::Deref;
|
||||
/// # };
|
||||
/// ```
|
||||
///
|
||||
/// If the query string cannot be parsed it will reject the request with a `422
|
||||
/// Unprocessable Entity` response.
|
||||
/// If the query string cannot be parsed it will reject the request with a `400
|
||||
/// Bad Request` response.
|
||||
///
|
||||
/// For handling values being empty vs missing see the [query-params-with-empty-strings][example]
|
||||
/// example.
|
||||
|
||||
Reference in New Issue
Block a user