aboutsummaryrefslogtreecommitdiff
path: root/rust/src/env.rs
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-10-27 22:39:31 -0500
committerJoel Martin <github@martintribe.org>2015-01-06 21:59:00 -0600
commitbd3067230dcbd18fb1f0db7abb52c4ea1c2e227b (patch)
tree08c01aaacbc469ea4d1ad950852bf67aeb4cdcae /rust/src/env.rs
parent06fef9b51830a2aa696f3e108c56f306967ce465 (diff)
downloadmal-bd3067230dcbd18fb1f0db7abb52c4ea1c2e227b.tar.gz
mal-bd3067230dcbd18fb1f0db7abb52c4ea1c2e227b.zip
rust: add metadata support.
Diffstat (limited to 'rust/src/env.rs')
-rw-r--r--rust/src/env.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/env.rs b/rust/src/env.rs
index 7ffc319..cf8aa0f 100644
--- a/rust/src/env.rs
+++ b/rust/src/env.rs
@@ -23,9 +23,9 @@ pub fn env_bind(env: &Env,
mexprs: MalVal) -> Result<Env,String> {
let mut variadic = false;
match *mbinds {
- List(ref binds) | Vector(ref binds) => {
+ List(ref binds,_) | Vector(ref binds,_) => {
match *mexprs {
- List(ref exprs) | Vector(ref exprs) => {
+ List(ref exprs,_) | Vector(ref exprs,_) => {
let mut it = binds.iter().enumerate();
for (i, b) in it {
match **b {