From 7f2a82ea56290885a3a1bab44dfd6b1027b142b3 Mon Sep 17 00:00:00 2001 From: Alex Koshelev Date: Sat, 21 Sep 2024 23:32:43 -0700 Subject: [PATCH] Fix unused warnings --- ipa-core/src/net/http_serde.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipa-core/src/net/http_serde.rs b/ipa-core/src/net/http_serde.rs index 6dabaf359..250dc6792 100644 --- a/ipa-core/src/net/http_serde.rs +++ b/ipa-core/src/net/http_serde.rs @@ -569,12 +569,12 @@ pub mod query { impl Request { /// see above for the reason why this needs to be behind a feature flag - #[cfg(all(test, not(feature = "shuttle")))] + #[cfg(all(test, unit_test))] pub fn new(query_id: QueryId) -> Self { Self { query_id } } - #[cfg(all(test, not(feature = "shuttle")))] + #[cfg(all(test, unit_test))] pub fn try_into_http_request( self, scheme: axum::http::uri::Scheme,