Skip to content

Commit 38fc896

Browse files
committed
tests: Fix more clippy warnings
1 parent 29455f5 commit 38fc896

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cryptoki/tests/basic.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -702,10 +702,7 @@ fn derive_key_sp800() -> TestResult {
702702
let (major, minor) = get_firmware_version(&pkcs11, slot);
703703
// Kryoptic added support for sha256_sp800 in version 1.3.
704704
if !(major > 1 || minor >= 3) {
705-
eprintln!(
706-
"Skipping test: Kryoptic is too old (need 1.3, got {}.{})",
707-
major, minor
708-
);
705+
eprintln!("Skipping test: Kryoptic is too old (need 1.3, got {major}.{minor})",);
709706
return Ok(());
710707
}
711708
}

0 commit comments

Comments
 (0)