about summary refs log tree commit diff
path: root/src/rt/sync/timer.cpp
diff options
context:
space:
mode:
authorblake2-ppc <blake2-ppc>2013-08-03 19:40:20 +0200
committerblake2-ppc <blake2-ppc>2013-08-06 03:59:56 +0200
commitce682cb45ff6f899d478358d7517fa83b215ac3c (patch)
tree6bdf0ea09f1a02231d0eec6f2c237373faa255b9 /src/rt/sync/timer.cpp
parentbbda3fa9383dba653b20bd064102caceef91897a (diff)
downloadrust-ce682cb45ff6f899d478358d7517fa83b215ac3c.tar.gz
rust-ce682cb45ff6f899d478358d7517fa83b215ac3c.zip
std: Add .consume_iter() for Option, to make it reusable
Let Option be a base for a widely useful one- or zero- item iterator.
Refactor OptionIterator to support any generic element type, so the same
iterator impl can be used for both &T, &mut T and T iterators.
Diffstat (limited to 'src/rt/sync/timer.cpp')
0 files changed, 0 insertions, 0 deletions