aboutsummaryrefslogtreecommitdiff
path: root/src/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lisp')
-rw-r--r--src/lisp/eval.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lisp/eval.rs b/src/lisp/eval.rs
index c5e4ed0..1b277f9 100644
--- a/src/lisp/eval.rs
+++ b/src/lisp/eval.rs
@@ -336,9 +336,9 @@ pub fn lookup(env_list: &[Environment], key: &str) -> Result<LispExpr, LispError
336 .ok_or(EvalError::UnboundVariable(key.into()))?) 336 .ok_or(EvalError::UnboundVariable(key.into()))?)
337} 337}
338 338
339pub fn lookup_mut<'a, 'b>( 339pub fn lookup_mut<'a>(
340 env_list: &'a mut [Environment], 340 env_list: &'a mut [Environment],
341 key: &'b str, 341 key: &'_ str,
342) -> Result<&'a mut LispExpr, LispError> { 342) -> Result<&'a mut LispExpr, LispError> {
343 Ok(env_list 343 Ok(env_list
344 .iter_mut() 344 .iter_mut()