Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
prestwich committed Dec 2, 2023
1 parent 678bcf6 commit 9891bd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ledger/src/transports/native/hid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fn write_apdu(
channel: u16,
apdu_command: &[u8],
) -> Result<(), NativeTransportError> {
tracing::debug!(apdu = %hex::encode(&apdu_command), bytes = apdu_command.len(), "Writing APDU to device");
tracing::debug!(apdu = %hex::encode(apdu_command), bytes = apdu_command.len(), "Writing APDU to device");

let command_length = apdu_command.len();

Expand All @@ -103,7 +103,7 @@ fn write_apdu(
buffer[6..6 + chunk.len()].copy_from_slice(chunk);

tracing::trace!(
buffer = hex::encode(&buffer),
buffer = hex::encode(buffer),
sequence_idx,
bytes = chunk.len(),
"Writing chunk to device",
Expand Down

0 comments on commit 9891bd9

Please sign in to comment.