about summary refs log tree commit diff
path: root/src/libstd/task
diff options
context:
space:
mode:
authorblake2-ppc <blake2-ppc>2013-07-31 21:07:45 +0200
committerblake2-ppc <blake2-ppc>2013-08-01 16:54:22 +0200
commit7e210a8129c844e0b3aca4a28153effd0817ef41 (patch)
treea48837c9ed59251169c728c541d78632ea44b2f0 /src/libstd/task
parente5a64f2adddd1ed2ec8e92ec94658b24ece4dbfc (diff)
downloadrust-7e210a8129c844e0b3aca4a28153effd0817ef41.tar.gz
rust-7e210a8129c844e0b3aca4a28153effd0817ef41.zip
std: Replace `for` with `do { .. }` expr in std::gc
Change all users of old-style for with internal iterators to using
`do`-loops.

The code in stackwalk.rs does not actually implement the
looping protocol (no break on return false).

The code in gc.rs does not use loop breaks, nor does any code using it.

We remove the capacity to break from the loops in std::gc and implement
the walks using `do { .. }` expressions.

No behavior change.
Diffstat (limited to 'src/libstd/task')
0 files changed, 0 insertions, 0 deletions