Update outdated Query extractor docs. (#891)

This commit is contained in:
Yotam Ofek 2022-03-31 16:43:54 +03:00 committed by GitHub
parent ffb6af7fed
commit 2e5d56a9b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,8 +37,8 @@ use std::ops::Deref;
/// # };
/// ```
///
/// If the query string cannot be parsed it will reject the request with a `400
/// Bad Request` response.
/// If the query string cannot be parsed it will reject the request with a `422
/// Unprocessable Entity` response.
///
/// For handling values being empty vs missing see the (query-params-with-empty-strings)[example]
/// example.