mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-22 16:25:30 +00:00
nits
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user