Skip to content

Commit

Permalink
Update interpeter.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
crnvl authored Aug 21, 2023
1 parent 1f2fb37 commit 4927a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logic/interpeter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl Interpreter {
}
ASTNode::Print(expression) => {
let evaluated_expression = self.evaluate_expression(*expression);
println!("{:?}", self.stringify_value(evaluated_expression));
println!("{}", self.stringify_value(evaluated_expression));
}
ASTNode::If(expression, statements) => {
let evaluated_expression = self.evaluate_expression(*expression);
Expand Down

0 comments on commit 4927a05

Please sign in to comment.