Skip to content

Commit 66d40df

Browse files
authored
Fix clippy lint (#90)
1 parent 5e3f672 commit 66d40df

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
#![deny(missing_docs)]
1515
#![cfg_attr(not(feature = "std"), no_std)]
1616
#![cfg_attr(docsrs, feature(doc_cfg))]
17-
#![cfg_attr(feature = "aarch64_neon_prefetch", feature(stdarch_aarch64_prefetch))]
17+
#![cfg_attr(
18+
all(target_arch = "aarch64", feature = "aarch64_neon_prefetch"),
19+
feature(stdarch_aarch64_prefetch)
20+
)]
1821

1922
//! Blazingly fast API-compatible UTF-8 validation for Rust using SIMD extensions, based on the implementation from
2023
//! [simdjson](https://github.com/simdjson/simdjson). Originally ported to Rust by the developers of [simd-json.rs](https://simd-json.rs), but now heavily improved.

0 commit comments

Comments
 (0)