mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-27 00:00:24 +02:00
Deprecate QueryStringMissing (#119)
Since https://github.com/tokio-rs/axum/pull/117 its no longer used. Will be removed in 0.2.
This commit is contained in:
@@ -42,6 +42,7 @@ define_rejection! {
|
||||
define_rejection! {
|
||||
#[status = BAD_REQUEST]
|
||||
#[body = "Query string was invalid or missing"]
|
||||
#[deprecated(since = "0.1.3", note = "No longer used. See https://github.com/tokio-rs/axum/pull/117")]
|
||||
/// Rejection type for [`Query`](super::Query).
|
||||
pub struct QueryStringMissing;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user