Skip to content

Commit d54fbb3

Browse files
committed
lint: clippy
1 parent 0729754 commit d54fbb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/batch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ impl TryFrom<Bytes> for InboundData {
5656
#[instrument(level = "debug", skip(bytes), fields(buf_len = bytes.len(), bytes = tracing::field::Empty))]
5757
fn try_from(bytes: Bytes) -> Result<Self, Self::Error> {
5858
if enabled!(Level::TRACE) {
59-
tracing::span::Span::current().record("bytes", &format!("0x{:x}", bytes));
59+
tracing::span::Span::current().record("bytes", format!("0x{:x}", bytes));
6060
}
6161
debug!("Parsing inbound data");
6262

0 commit comments

Comments
 (0)