Remove commented out code
This commit is contained in:
@@ -21,28 +21,6 @@ enum Token {
|
||||
NewLine,
|
||||
}
|
||||
|
||||
// struct StringBuffer {
|
||||
// string: String,
|
||||
// seek_index: usize,
|
||||
// }
|
||||
|
||||
// impl StringBuffer {
|
||||
// pub fn new(string: String) -> StringBuffer{
|
||||
// StringBuffer {
|
||||
// string,
|
||||
// seek_index: 0,
|
||||
// }
|
||||
// }
|
||||
|
||||
// pub fn take_char(&mut self) -> Option<char> {
|
||||
// if self.seek_index < self.string.len() {
|
||||
// self.seek_index += 1;
|
||||
// return self.string.char_indices()[self.seek_index - 1];
|
||||
// }
|
||||
// return None;
|
||||
// }
|
||||
// }
|
||||
|
||||
fn is_mul_text_token(text_token: &str) -> bool {
|
||||
if text_token.ends_with("mul") {
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user