mirror of
https://github.com/tokio-rs/axum.git
synced 2025-01-20 23:46:53 +01:00
Remove cfg
This commit is contained in:
parent
daeb2c7f0d
commit
99cfd7830b
1 changed files with 0 additions and 1 deletions
|
@ -111,7 +111,6 @@ pub enum QueryRejection {
|
||||||
FailedToDeserializeQueryString(Error),
|
FailedToDeserializeQueryString(Error),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "query")]
|
|
||||||
impl QueryRejection {
|
impl QueryRejection {
|
||||||
/// Get the status code used for this rejection.
|
/// Get the status code used for this rejection.
|
||||||
pub fn status(&self) -> http::StatusCode {
|
pub fn status(&self) -> http::StatusCode {
|
||||||
|
|
Loading…
Reference in a new issue