From c599db1421e245fd79b3f2f2daa49c7df73d3bd5 Mon Sep 17 00:00:00 2001 From: Arthur Zucker Date: Mon, 4 Sep 2023 19:11:19 +0000 Subject: [PATCH] nits --- bindings/python/src/tokenizer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/src/tokenizer.rs b/bindings/python/src/tokenizer.rs index cfd5dbca..19e340d0 100644 --- a/bindings/python/src/tokenizer.rs +++ b/bindings/python/src/tokenizer.rs @@ -184,7 +184,7 @@ impl PyAddedToken { /// Set the content of this :obj:`AddedToken` #[setter] fn set_content(&mut self, content: String) { - self.content = content.into(); + self.content = content; } /// Get the value of the :obj:`rstrip` option