Skip to content

Commit 92689bf

Browse files
committed
fix(rust/immutable-ledger): clippy lint
1 parent 4b4d365 commit 92689bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/immutable-ledger/src/serialize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ impl BlockHeader {
437437
let prev_block_hash_type = match hash_function.as_u64() {
438438
BLAKE3_CBOR_TAG => HashFunction::Blake3,
439439
BLAKE_2B_CBOR_TAG => HashFunction::Blake2b,
440-
_ => bail!(format!("Invalid hash function type {:?}", hash_function)),
440+
_ => bail!(format!("Invalid hash function type {hash_function:?}")),
441441
};
442442

443443
let prev_block_hash = cbor_decoder

0 commit comments

Comments
 (0)