diff options
| author | Joel Martin <github@martintribe.org> | 2014-10-27 22:39:31 -0500 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2015-01-06 21:59:00 -0600 |
| commit | bd3067230dcbd18fb1f0db7abb52c4ea1c2e227b (patch) | |
| tree | 08c01aaacbc469ea4d1ad950852bf67aeb4cdcae /rust/src/env.rs | |
| parent | 06fef9b51830a2aa696f3e108c56f306967ce465 (diff) | |
| download | mal-bd3067230dcbd18fb1f0db7abb52c4ea1c2e227b.tar.gz mal-bd3067230dcbd18fb1f0db7abb52c4ea1c2e227b.zip | |
rust: add metadata support.
Diffstat (limited to 'rust/src/env.rs')
| -rw-r--r-- | rust/src/env.rs | 4 |
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 { |
