diff options
Diffstat (limited to 'rust')
-rw-r--r-- | rust/spectrum.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/spectrum.rs b/rust/spectrum.rs index 19921a0..5e1ed83 100644 --- a/rust/spectrum.rs +++ b/rust/spectrum.rs @@ -233,7 +233,7 @@ fn scheme_repr(ast: &SchemeExpr) -> Result<String, String> { &SchemeExpr::SchemeBuiltin(ref b)=> Ok(b.clone()), &SchemeExpr::SchemeStr(ref s)=> Ok(s.clone()), &SchemeExpr::SchemeSymbol(ref s)=> Ok(s.clone()), - &SchemeExpr::SchemeIdentifier(ref s)=> Ok("'".to_string() + &s), + &SchemeExpr::SchemeIdentifier(ref s)=> Ok(s.to_string()), &SchemeExpr::SchemeProcedure(ref binds, ref body, _) => { let mut ret = "(lambda (".to_string(); for bind in binds { |