aboutsummaryrefslogtreecommitdiff
path: root/src/lisp/expr.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-03-28 05:21:26 +0100
committerAkshay <[email protected]>2021-03-28 05:21:26 +0100
commitbbfca639547fcd08e51181b70e449e71281d1d9b (patch)
treee4f420286daf694624a7d7df33b2c517cd231143 /src/lisp/expr.rs
parentd0d222c3f7e765437f2fdfa5754654a8a815f52e (diff)
add new brush type
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 }