Skip to content

Commit d309090

Browse files
committed
Applies @eddyb's fix for large memcpy's.
Fixes #86.
1 parent e714371 commit d309090

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

regex_macros/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ fn exec<'t>(which: ::regex::native::MatchKind, input: &'t str,
181181
let prefix_bytes: &[u8] = $prefix_bytes;
182182
let mut clist = Threads::new(self.which);
183183
let mut nlist = Threads::new(self.which);
184+
let (mut clist, mut nlist) = (&mut clist, &mut nlist);
184185

185186
let mut groups = $init_groups;
186187

0 commit comments

Comments
 (0)