aboutsummaryrefslogtreecommitdiff
path: root/rust/src/step3_env.rs
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-10-27 23:20:22 -0500
committerJoel Martin <github@martintribe.org>2015-01-06 21:59:01 -0600
commit77b2da6cf337bbd85914619bfbccba69b6621a04 (patch)
treeafa9bcca8e965363962d585f312cb76eb14f8183 /rust/src/step3_env.rs
parentbd3067230dcbd18fb1f0db7abb52c4ea1c2e227b (diff)
downloadmal-77b2da6cf337bbd85914619bfbccba69b6621a04.tar.gz
mal-77b2da6cf337bbd85914619bfbccba69b6621a04.zip
rust: add conj, stepA. Self-hosting!
Diffstat (limited to 'rust/src/step3_env.rs')
-rw-r--r--rust/src/step3_env.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/step3_env.rs b/rust/src/step3_env.rs
index 820f21d..cb80947 100644
--- a/rust/src/step3_env.rs
+++ b/rust/src/step3_env.rs
@@ -39,7 +39,7 @@ fn eval_ast(ast: MalVal, env: Env) -> MalRet {
}
}
Ok(match *ast { List(_,_) => list(ast_vec),
- _ => vector(ast_vec) })
+ _ => vector(ast_vec) })
},
Hash_Map(ref hm,_) => {
let mut new_hm: HashMap<String,MalVal> = HashMap::new();