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

@ -6,7 +6,7 @@ use pyo3::types::*;
#[pyclass(dict)]
pub struct PostProcessor {
pub processor: Container<dyn tk::tokenizer::PostProcessor + Sync>,
pub processor: Container<dyn tk::tokenizer::PostProcessor>,
}
#[pymethods]