mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-23 00:35:35 +00:00
Require Send for all parts of the tokenizer (#222)
This commit is contained in:
@ -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)]
|
||||
|
Reference in New Issue
Block a user