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