values is no longer a method of runtime

This commit is contained in:
2024-10-27 22:09:23 -04:00
parent f219941db1
commit 2275d969b1

View File

@@ -12,7 +12,7 @@ pub async fn eval(ctx: Context<'_>,
let mut runtime = lamm::Runtime::new(Cursor::new(expr), "<eval>");
let values = runtime.values().fold(Ok(String::new()), |acc, v| {
let values = runtime.fold(Ok(String::new()), |acc, v| {
if acc.is_err() {
return acc;
};