mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2024-11-10 09:32:19 +08:00
Added Sync + Send to stemmer trait
This commit is contained in:
parent
30092ce92c
commit
c2974a172d
2 changed files with 1 additions and 2 deletions
|
@ -33,7 +33,7 @@ use crate::tokenizers::{
|
|||
|
||||
use self::detect::LanguageDetector;
|
||||
|
||||
pub type LanguageTokenizer<'x> = Box<dyn Iterator<Item = Token<Cow<'x, str>>> + 'x>;
|
||||
pub type LanguageTokenizer<'x> = Box<dyn Iterator<Item = Token<Cow<'x, str>>> + 'x + Sync + Send>;
|
||||
|
||||
impl Language {
|
||||
pub fn tokenize_text<'x>(
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
* for more details.
|
||||
*/
|
||||
|
||||
use core::panic;
|
||||
use std::{sync::Arc, time::Duration};
|
||||
|
||||
use directory::Lookup;
|
||||
|
|
Loading…
Reference in a new issue