From 21860bfbd70123c5340cf88b731d38375ea2894c Mon Sep 17 00:00:00 2001 From: Hans Kratz Date: Fri, 23 Sep 2022 20:04:29 +0200 Subject: [PATCH] remove unnecessary(?) `#[allow(const_err)]` --- src/implementation/algorithm.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/implementation/algorithm.rs b/src/implementation/algorithm.rs index 3ec1c82c..8be9f324 100644 --- a/src/implementation/algorithm.rs +++ b/src/implementation/algorithm.rs @@ -182,7 +182,6 @@ macro_rules! algorithm_simd { #[cfg_attr(not(target_arch="aarch64"), target_feature(enable = $feat))] #[inline] #[allow(unconditional_panic)] // does not panic because len is checked - #[allow(const_err)] // the same, but for Rust 1.38.0 unsafe fn check_block(&mut self, input: SimdInput) { // WORKAROUND // necessary because the for loop is not unrolled on ARM64