about summary refs log tree commit diff
path: root/src/interpret/walker.rs
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2021-10-22 22:58:25 +0200
committerMel <einebeere@gmail.com>2021-10-22 23:03:59 +0200
commitd4b8a0708232e2c4459f0e1a3b2f2814316359e8 (patch)
tree1ca44fce7870d726dfefb53f7acbda7ac6a9f85b /src/interpret/walker.rs
parentc35a7ba06a47a8b26bd784df552ad4c881383898 (diff)
downloadrabbithole-d4b8a0708232e2c4459f0e1a3b2f2814316359e8.tar.zst
rabbithole-d4b8a0708232e2c4459f0e1a3b2f2814316359e8.zip
Display values without type
Diffstat (limited to 'src/interpret/walker.rs')
-rw-r--r--src/interpret/walker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interpret/walker.rs b/src/interpret/walker.rs
index 79ef87f..e04b5a4 100644
--- a/src/interpret/walker.rs
+++ b/src/interpret/walker.rs
@@ -36,7 +36,7 @@ impl Walker {
             }
             Statement::Print(node) => {
                 let result = self.walk_expression(node)?;
-                println!("{:?}", result);
+                println!("{}", result);
                 None
             }
             Statement::Return(node) => Some(self.walk_expression(node)?),