Fix code style

This commit is contained in:
Connor Boyle
2023-08-07 15:17:43 -07:00
parent a0a8ebe03f
commit 748556a9ed

View File

@ -721,7 +721,9 @@ impl PyTokenizer {
/// Disable truncation
#[pyo3(text_signature = "(self)")]
fn no_truncation(&mut self) {
self.tokenizer.with_truncation(None).expect("Failed to set truncation to `None`! This should never happen");
self.tokenizer
.with_truncation(None)
.expect("Failed to set truncation to `None`! This should never happen");
}
/// Get the currently set truncation parameters