Skip to content

Commit

Permalink
Fix unused warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
akoshelev committed Sep 22, 2024
1 parent da97c99 commit 7f2a82e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ipa-core/src/net/http_serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7f2a82e

Please sign in to comment.