Skip to content

Commit 84543bf

Browse files
committed
Fix new clippy lint introduced with rust 1.52.0
1 parent 1e17ddd commit 84543bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/x86.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,11 @@ impl<N: Needle> Avx2Searcher<N> {
227227
let avx2_hash = VectorHash::new(bytes[0], bytes[position]);
228228

229229
Self {
230-
needle,
231230
position,
232231
scalar_hash,
233232
sse2_hash,
234233
avx2_hash,
234+
needle,
235235
}
236236
}
237237

0 commit comments

Comments
 (0)