From 495d430b21e1be833b0e0da4fa7e4c69d1da9c7e Mon Sep 17 00:00:00 2001 From: Arthur Zucker Date: Tue, 5 Nov 2024 15:22:49 +0100 Subject: [PATCH] style --- bindings/python/src/tokenizer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/src/tokenizer.rs b/bindings/python/src/tokenizer.rs index 976431c94..6408502b5 100644 --- a/bindings/python/src/tokenizer.rs +++ b/bindings/python/src/tokenizer.rs @@ -1036,8 +1036,8 @@ impl PyTokenizer { is_pretokenized: bool, add_special_tokens: bool, ) -> PyResult> { - let mut items= Vec::::new(); - for i in 0..input.len()?{ + let mut items = Vec::::new(); + for i in 0..input.len()? { let item = input.get_item(i)?; let item: tk::EncodeInput = if is_pretokenized { item.extract::()?.into()