aboutsummaryrefslogtreecommitdiff
path: root/src/lisp
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-05-19 05:08:28 +0100
committerAkshay <[email protected]>2021-05-19 05:08:28 +0100
commit02c8475c9dd8ac589054a39d5ae01b565062dbe6 (patch)
treefc780acba6d7efd1652a59841c52ebb14c63f56c /src/lisp
parentd6b803df2fbd84d5ae75bf860168d0329696847f (diff)
report manhattan dist. in line brush
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()