fix(dict)!: Make dictionary usable across threads

This commit is contained in:
Ed Page 2019-10-26 20:32:16 -06:00
parent 0a2f865d0f
commit 86b22d1f49

View file

@ -1,6 +1,6 @@
use std::borrow::Cow; use std::borrow::Cow;
pub trait Dictionary { pub trait Dictionary: Send + Sync {
fn correct_ident<'s, 'w>( fn correct_ident<'s, 'w>(
&'s self, &'s self,
_ident: crate::tokens::Identifier<'w>, _ident: crate::tokens::Identifier<'w>,