From a02d6e2127b20c088c944825c0f979668cda55f2 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Mon, 25 Apr 2016 15:15:36 -0400 Subject: rust: actually pull identifiers from env --- rust/spectrum.rs | 8 ++------ 1 file 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)), } } } -- cgit v1.2.3