chore: Fix formatting
This commit is contained in:
parent
a192fbb113
commit
d6b7d0c915
|
@ -987,12 +987,7 @@ fn extract_array_values<'gc>(
|
|||
|
||||
let mut unholey_vec = Vec::with_capacity(holey_vec.length());
|
||||
for (i, v) in holey_vec.iter().enumerate() {
|
||||
unholey_vec.push(resolve_array_hole(
|
||||
activation,
|
||||
object.unwrap(),
|
||||
i,
|
||||
v,
|
||||
)?);
|
||||
unholey_vec.push(resolve_array_hole(activation, object.unwrap(), i, v)?);
|
||||
}
|
||||
|
||||
Ok(Some(unholey_vec))
|
||||
|
|
|
@ -658,8 +658,7 @@ pub fn map<'gc>(
|
|||
while let Some(r) = iter.next(activation) {
|
||||
let (i, item) = r?;
|
||||
|
||||
let new_item =
|
||||
callback.call(receiver, &[item, i.into(), this.into()], activation)?;
|
||||
let new_item = callback.call(receiver, &[item, i.into(), this.into()], activation)?;
|
||||
let coerced_item = new_item.coerce_to_type(activation, value_type)?;
|
||||
|
||||
new_storage.push(coerced_item)?;
|
||||
|
|
Loading…
Reference in New Issue