Skip to content

Commit 8148bb7

Browse files
committed
silence Rust 1.38.0 warning
1 parent 619935b commit 8148bb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/implementation/algorithm.rs

+1
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ macro_rules! algorithm_simd {
193193
#[target_feature(enable = $feat)]
194194
#[inline]
195195
#[allow(unconditional_panic)] // does not panic because len is checked
196+
#[allow(const_err)] // the same, but for Rust 1.38.0
196197
unsafe fn check_block(&mut self, input: SimdInput) {
197198
// necessary because a for loop is not unrolled on ARM64
198199
if input.vals.len() == 2 {

0 commit comments

Comments
 (0)