git.delta.rocks / jrsonnet / refs/commits / 992351cca6b2

difftreelog

style fix formatting

Yaroslav Bolyukin2023-07-26parent: #76f0cfd.patch.diff
in: master

2 files changed

modifiedcrates/jrsonnet-stdlib/src/arrays.rsdiffbeforeafterboth
272pub fn builtin_remove(arr: ArrValue, elem: Val) -> Result<ArrValue> {269pub fn builtin_remove(arr: ArrValue, elem: Val) -> Result<ArrValue> {
273 for (index, item) in arr.iter().enumerate() {270 for (index, item) in arr.iter().enumerate() {
274 if equals(&item?, &elem)? {271 if equals(&item?, &elem)? {
275 return builtin_remove_at(arr.clone(), index) 272 return builtin_remove_at(arr.clone(), index);
276 }273 }
277 }274 }
278 Ok(arr)275 Ok(arr)
modifiedcrates/jrsonnet-stdlib/src/sort.rsdiffbeforeafterboth

no syntactic changes