From 86b22d1f4944baa7d4695eb749a127d392ea6a6e Mon Sep 17 00:00:00 2001 From: Ed Page Date: Sat, 26 Oct 2019 20:32:16 -0600 Subject: [PATCH] fix(dict)!: Make dictionary usable across threads --- typos/src/dict.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typos/src/dict.rs b/typos/src/dict.rs index 084cbc4..76cea74 100644 --- a/typos/src/dict.rs +++ b/typos/src/dict.rs @@ -1,6 +1,6 @@ use std::borrow::Cow; -pub trait Dictionary { +pub trait Dictionary: Send + Sync { fn correct_ident<'s, 'w>( &'s self, _ident: crate::tokens::Identifier<'w>,