Perhaps with the following (not tested) for int::range_step(hi, low, step) or for int::range_step(hi, low, -step)
J On 2013-05-30 16:26, Renato Lenzi wrote:
with fot int::range(low,hi) i can loop from low to h1-1 with for int::range_step(low, hi, step) i can loop for low to hi-1 with step "step" with for int::range_rev(hi, low) i can loop from hi to low, reverse mode but... how can loop from hi to low with step other than 1? range_rev_step is obviously undefined.... thx. _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
