Require Send for all parts of the tokenizer (#222)

This commit is contained in:
Anthony MOI
2020-04-08 13:35:06 -04:00
committed by GitHub
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)]