aboutsummaryrefslogtreecommitdiffstats
path: root/rust/spectrum.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/spectrum.rs')
-rw-r--r--rust/spectrum.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/rust/spectrum.rs b/rust/spectrum.rs
index 5e1ed83..2c73281 100644
--- a/rust/spectrum.rs
+++ b/rust/spectrum.rs
@@ -488,12 +488,8 @@ fn scheme_meaning<'a, 'b>(ast: &SchemeExpr,
None => {
match env.get(sym) {
// fall through to env...
- //Some(val) => Ok(val.clone()),
- Some(val) => {
- println!("{}", scheme_repr(val).unwrap());
- Ok(SchemeExpr::SchemeNull)
- },
- None => Err(format!("symbol not defined: {}", sym)),
+ Some(val) => Ok(val.clone()),
+ None => Err(format!("identifier not defined: {}", sym)),
}
}
}