# how would I go about making a macro or template that would allow me to shorten # this: for i in 0.. which cannot be # captured as it would violate memory safety (I'm trying to capture it in an `any` # closure)