#set type for specify a second capture value in "for" loop

1 messages · Page 1 of 1 (latest)

cobalt tree
#

how to?

for (array) |value, id: i32| {...}

bronze leaf
#

It's not possible with the current for loops, second capture is an index, so it's a usize iirc