add Send + Sync on all traits, remove elsewhere

This commit is contained in:
Andre Bogus
2020-04-08 14:37:41 +02:00
parent 2a4e5f81de
commit 550413f00a
14 changed files with 36 additions and 39 deletions

View File

@ -7,7 +7,7 @@ use pyo3::types::*;
#[pyclass(dict)]
pub struct Normalizer {
pub normalizer: Container<dyn tk::tokenizer::Normalizer + Sync>,
pub normalizer: Container<dyn tk::tokenizer::Normalizer>,
}
#[pyclass(extends=Normalizer)]