Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
4t145 committed Jul 3, 2024
1 parent 9c06c8e commit dd1c9a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tardis/src/web/web_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,8 @@ impl TardisWebClient {
for (key, value) in headers {
result = result.header(key.into(), value.into());
}
let request = body.apply_on(result).build()?;
#[allow(unused_mut)]
let mut request = body.apply_on(result).build()?;
#[cfg(feature = "tracing")]
{
use opentelemetry::{global, Context};
Expand Down

0 comments on commit dd1c9a8

Please sign in to comment.