Remove cfg

This commit is contained in:
Jan Trefil 2024-06-10 20:41:23 +02:00
parent daeb2c7f0d
commit 99cfd7830b

View file

@ -111,7 +111,6 @@ pub enum QueryRejection {
FailedToDeserializeQueryString(Error),
}
#[cfg(feature = "query")]
impl QueryRejection {
/// Get the status code used for this rejection.
pub fn status(&self) -> http::StatusCode {