From 2ce5631d3c793585855842497217dbcb2193a770 Mon Sep 17 00:00:00 2001 From: Weny Xu Date: Mon, 12 May 2025 17:27:29 +0800 Subject: [PATCH] chore: fix clippy error by feature-gating Query import (#6085) --- src/servers/src/http/mem_prof.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/servers/src/http/mem_prof.rs b/src/servers/src/http/mem_prof.rs index 04b0054c2e..342136eecd 100644 --- a/src/servers/src/http/mem_prof.rs +++ b/src/servers/src/http/mem_prof.rs @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +#[cfg(feature = "mem-prof")] use axum::extract::Query; use axum::http::StatusCode; use axum::response::IntoResponse;