aboutsummaryrefslogtreecommitdiff
path: root/rust/src/step3_env.rs
diff options
context:
space:
mode:
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 {