aboutsummaryrefslogtreecommitdiff
path: root/src/lisp/expr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lisp/expr.rs')
-rw-r--r--src/lisp/expr.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lisp/expr.rs b/src/lisp/expr.rs
index 40420a1..9ef9f65 100644
--- a/src/lisp/expr.rs
+++ b/src/lisp/expr.rs
@@ -222,6 +222,7 @@ impl AsRef<str> for LispExpr {
222 fn as_ref(&self) -> &str { 222 fn as_ref(&self) -> &str {
223 match self { 223 match self {
224 LispExpr::StringLit(i) => &i, 224 LispExpr::StringLit(i) => &i,
225 LispExpr::Ident(i) => &i,
225 _ => panic!("invalid downcast!"), 226 _ => panic!("invalid downcast!"),
226 } 227 }
227 } 228 }