rustbpe: Add Default impl for Tokenizer

This commit is contained in:
Barış Özmen 2025-12-29 04:13:47 +03:00
parent 8f979a8bda
commit 015ce712d7

View File

@ -256,6 +256,12 @@ impl Tokenizer {
}
}
impl Default for Tokenizer {
fn default() -> Self {
Self::new()
}
}
/// Public methods for the Tokenizer class that will be exposed to Python.
#[pymethods]
impl Tokenizer {