Refactor.

This commit is contained in:
Stephen Chung
2022-09-26 23:35:37 +08:00
parent 8f1cb4aef7
commit 3a3653f42a
4 changed files with 25 additions and 25 deletions

View File

@@ -834,7 +834,7 @@ pub mod array_functions {
return Ok(false);
}
for item in array.iter_mut() {
for item in array {
if ctx
.call_fn_raw(OP_EQUALS, true, false, &mut [item, &mut value.clone()])
.or_else(|err| match *err {