Skip to content

Commit 6626c6c

Browse files
committed
Fix typo
1 parent 6efdd56 commit 6626c6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ fn crc32_iso_hdlc_calculator(state: u64, data: &[u8], _params: CrcParams) -> u64
897897
#[cfg(target_arch = "aarch64")]
898898
{
899899
use std::arch::is_aarch64_feature_detected;
900-
if is_aarch64_feature_detected!("aes") && is_aarch64_feature_detected!("aes") {
900+
if is_aarch64_feature_detected!("aes") && is_aarch64_feature_detected!("crc") {
901901
return fusion::crc32_iso_hdlc(state as u32, data) as u64;
902902
}
903903
}

0 commit comments

Comments
 (0)