diff --git a/Cargo.toml b/Cargo.toml index 143e871..69cf79a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "faster-hex" -version = "0.8.0" +version = "0.8.1" authors = ["zhangsoledad <787953403@qq.com>"] edition = "2018" keywords = ["simd", "hex", "no-std"] diff --git a/src/lib.rs b/src/lib.rs index 706bef4..86a3577 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -124,8 +124,8 @@ mod tests { Vectorization::AVX2 => assert!(is_x86_feature_detected!("avx2")), Vectorization::SSE41 => assert!(is_x86_feature_detected!("sse4.1")), Vectorization::None => assert!( - !cfg!(target_feature = "sse") || - !is_x86_feature_detected!("avx2") && !is_x86_feature_detected!("sse4.1") + !cfg!(target_feature = "sse") + || !is_x86_feature_detected!("avx2") && !is_x86_feature_detected!("sse4.1") ), } }