Skip to content

Commit

Permalink
Added Sync + Send to stemmer trait
Browse files Browse the repository at this point in the history
  • Loading branch information
mdecimus committed Oct 18, 2023
1 parent 30092ce commit c2974a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion crates/nlp/src/language/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>(
Expand Down
1 change: 0 additions & 1 deletion crates/smtp/src/scripts/event_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
* for more details.
*/

use core::panic;
use std::{sync::Arc, time::Duration};

use directory::Lookup;
Expand Down

0 comments on commit c2974a1

Please sign in to comment.