mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-28 23:38:20 +01:00
Update documentation for FailedToDeserializeQueryString
response type (#1795)
This commit is contained in:
parent
6067223fcc
commit
68bf8ed7fc
2 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue