Really initialize lazy static.

This commit is contained in:
Sergey Pepyakin 2018-06-19 14:00:46 +03:00
parent 5abdb0bd30
commit 6739391558
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ lazy_static! {
} }
pub fn prepare() { pub fn prepare() {
&REGEX; ::lazy_static::initialize(&REGEX);
} }
pub fn run(seq: &[u8]) -> usize { pub fn run(seq: &[u8]) -> usize {