aboutsummaryrefslogtreecommitdiff
path: root/rust/src/step3_env.rs
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-10-25 16:18:32 -0500
committerJoel Martin <github@martintribe.org>2015-01-06 21:58:58 -0600
commit2ee5367b95e98252e1446a1cc1a782c516f21e72 (patch)
tree5e8601d6d173a20535eaba2ac2dccbe824bb9e5b /rust/src/step3_env.rs
parent0a4d62f2f8362290dfc956ba5c948794a77a6e4d (diff)
downloadmal-2ee5367b95e98252e1446a1cc1a782c516f21e72.tar.gz
mal-2ee5367b95e98252e1446a1cc1a782c516f21e72.zip
rust: add step5_tco
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 e0957b9..f916396 100644
--- a/rust/src/step3_env.rs
+++ b/rust/src/step3_env.rs
@@ -114,7 +114,7 @@ fn eval(ast: MalVal, env: Env) -> MalRet {
_ => (),
}
// function call
- match eval_ast(ast, env) {
+ return match eval_ast(ast, env) {
Err(e) => Err(e),
Ok(el) => {
match *el {