Skip to content

Commit cf17a78

Browse files
Format
1 parent fea4209 commit cf17a78

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ impl Executor {
394394
}
395395
}
396396
buffer
397-
};// Push string value on the stack
397+
}; // Push string value on the stack
398398
self.stack.push(Type::String(string));
399399
} else if chars[0] == '[' && chars[chars.len() - 1] == ']' {
400400
// Push list value on the stack
@@ -700,11 +700,11 @@ impl Executor {
700700
// Standard output
701701
"print" => {
702702
let a = self.pop_stack().get_string();
703-
704-
let a = a.replace("\\n", "\n");
705-
let a = a.replace("\\t", "\t");
706-
let a = a.replace("\\r", "\r");
707-
703+
704+
let a = a.replace("\\n", "\n");
705+
let a = a.replace("\\t", "\t");
706+
let a = a.replace("\\r", "\r");
707+
708708
if let Mode::Debug = self.mode {
709709
println!("[Output]: {a}");
710710
} else {

0 commit comments

Comments
 (0)