chore: fix clippy lint for aarch64 targets, use variables in format string

This commit is contained in:
Arthur Meyre
2025-04-30 10:50:34 +02:00
parent 0307a904ad
commit 417bf2aac2

View File

@@ -25,9 +25,8 @@ impl AesBlockCipher for ArmAesBlockCipher {
if !(aes_detected && neon_detected) {
panic!(
"The ArmAesBlockCipher requires both aes and neon aarch64 CPU features.\n\
aes feature available: {}\nneon feature available: {}\n\
aes feature available: {aes_detected}\nneon feature available: {neon_detected}\n\
Please consider enabling the SoftwareRandomGenerator with the `software-prng` feature",
aes_detected, neon_detected
)
}