Skip to content

Commit

Permalink
fix unused import in release mode
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Volk <[email protected]>
  • Loading branch information
jevolk committed Jan 3, 2025
1 parent 3b8a90a commit f1af7ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/router/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use axum::{
extract::State,
response::{IntoResponse, Response},
};
use conduwuit::{debug, debug_error, debug_warn, defer, err, error, trace, Result};
use conduwuit::{debug, debug_error, debug_warn, err, error, trace, Result};
use conduwuit_service::Services;
use http::{Method, StatusCode, Uri};

Expand Down Expand Up @@ -33,7 +33,7 @@ pub(crate) async fn spawn(
let server = &services.server;

#[cfg(debug_assertions)]
defer! {{
conduwuit::defer! {{
_ = server
.metrics
.requests_spawn_active
Expand Down Expand Up @@ -74,7 +74,7 @@ pub(crate) async fn handle(
let server = &services.server;

#[cfg(debug_assertions)]
defer! {{
conduwuit::defer! {{
_ = server
.metrics
.requests_handle_active
Expand Down

0 comments on commit f1af7ec

Please sign in to comment.