From 99cfd7830bf301ab786ccfd863b7ac7645cb976a Mon Sep 17 00:00:00 2001 From: Jan Trefil <8711792+htrefil@users.noreply.github.com> Date: Mon, 10 Jun 2024 20:41:23 +0200 Subject: [PATCH] Remove cfg --- axum-extra/src/extract/query.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/axum-extra/src/extract/query.rs b/axum-extra/src/extract/query.rs index 24b5cdd8..4393f2c0 100644 --- a/axum-extra/src/extract/query.rs +++ b/axum-extra/src/extract/query.rs @@ -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 {