mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-23 00:35:35 +00:00
updates
This commit is contained in:
@ -183,8 +183,8 @@ impl PyAddedToken {
|
||||
|
||||
/// Set the content of this :obj:`AddedToken`
|
||||
#[setter]
|
||||
fn set_content(&self, content: String){
|
||||
self.get_token().content = content
|
||||
fn set_content(&mut self, content: String) {
|
||||
self.content = content.into();
|
||||
}
|
||||
|
||||
/// Get the value of the :obj:`rstrip` option
|
||||
|
Reference in New Issue
Block a user