Commit Graph

2 Commits

Author SHA1 Message Date
blake2-ppc
78cde5b9fb std: Change Times trait to use do instead of for
Change the former repetition::

    for 5.times { }

to::

    do 5.times { }

.times() cannot be broken with `break` or `return` anymore; for those
cases, use a numerical range loop instead.
2013-08-01 16:54:22 +02:00
Luqman Aden
0aa94ff3c3 Add test for #5321. 2013-06-27 21:36:30 -04:00