Skip to content

Commit

Permalink
refactor: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
McPatate committed Jan 16, 2025
1 parent 3100401 commit 2c6f83f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tokenizers/src/processors/template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,18 +351,17 @@ pub struct TemplateProcessing {
special_tokens: Tokens,
}


impl TemplateProcessing {
// Getter for `single`
pub fn get_single(& self) -> Template {
pub fn get_single(&self) -> Template {
self.single.clone()
}

// Setter for `single`
pub fn set_single(&mut self, single: Template) {
println!("Setting single to: {:?}", single); // Debugging output
self.single = single;
println!("Single is now {:?}", self.single);
println!("Single is now {:?}", self.single);
}

// Getter for `pair`
Expand Down

0 comments on commit 2c6f83f

Please sign in to comment.