aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-01-30 17:08:25 +0100
committerGustav Sörnäs <gustav@sornas.net>2021-01-30 17:08:38 +0100
commit85d9b613dd3d66e9fe23115fb9b5c1246a54d4f0 (patch)
tree116da6aa4c0280c66366eadce27d095b95ba6946 /src/main.rs
parent03977fdf0d09156dbee222194d0800b4ba8dde8b (diff)
downloadsylt-85d9b613dd3d66e9fe23115fb9b5c1246a54d4f0.tar.gz
move things about
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 10b88ba..c52acc8 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -41,10 +41,10 @@ fn parse_args() -> Args {
tihdy_derive::extern_function!(
extern_test
- [tihdy::vm::Value::Float(x), tihdy::vm::Value::Float(y)] -> tihdy::vm::Type::Float => {
- Ok(tihdy::vm::Value::Float(x + y))
+ [tihdy::Value::Float(x), tihdy::Value::Float(y)] -> tihdy::Type::Float => {
+ Ok(tihdy::Value::Float(x + y))
},
- [tihdy::vm::Value::Float(x)] -> tihdy::vm::Type::Float => {
- Ok(tihdy::vm::Value::Float(*x))
+ [tihdy::Value::Float(x)] -> tihdy::Type::Float => {
+ Ok(tihdy::Value::Float(*x))
},
);