diff options
| author | blake2-ppc <blake2-ppc> | 2013-08-03 19:40:20 +0200 |
|---|---|---|
| committer | blake2-ppc <blake2-ppc> | 2013-08-06 03:59:56 +0200 |
| commit | ce682cb45ff6f899d478358d7517fa83b215ac3c (patch) | |
| tree | 6bdf0ea09f1a02231d0eec6f2c237373faa255b9 /src/rt/sync/timer.cpp | |
| parent | bbda3fa9383dba653b20bd064102caceef91897a (diff) | |
| download | rust-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
