mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 09:01:04 -05:00
fix(dict)!: Make dictionary usable across threads
This commit is contained in:
parent
0a2f865d0f
commit
86b22d1f49
1 changed files with 1 additions and 1 deletions
|
@ -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>,
|
||||||
|
|
Loading…
Reference in a new issue