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