Skip to content

Commit 0d2621f

Browse files
committed
Migrate to rust 2021 edition
1 parent 4bdb59d commit 0d2621f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "sliceslice"
33
version = "0.3.1"
44
authors = ["marmeladema <xademax@gmail.com>", "Zak Cutner <me@zakcutner.uk>"]
5-
edition = "2018"
5+
edition = "2021"
66
description = "A fast implementation of single-pattern substring search using SIMD acceleration"
77
readme = "README.md"
88
repository = "https://github.com/cloudflare/sliceslice-rs"

src/x86.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ pub enum DynamicAvx2Searcher<N: Needle> {
436436

437437
macro_rules! array {
438438
($c:ident, $S:literal) => [seq!(N in 0..$S {
439-
[ #( $c#N, )* ]
439+
[ #( $c #N, )* ]
440440
})];
441441
}
442442

0 commit comments

Comments
 (0)