about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorblake2-ppc <blake2-ppc>2013-07-12 04:23:15 +0200
committerblake2-ppc <blake2-ppc>2013-07-13 04:31:13 +0200
commitc095a5c6cb5f749613672ab26c492fd55459b125 (patch)
tree5873ac27749640a6aa9d1541ba16c2765298a64b /src/rt/rust_kernel.cpp
parente1d5d1c049608cf182ddc91c98d9700089a35600 (diff)
downloadrust-c095a5c6cb5f749613672ab26c492fd55459b125.tar.gz
rust-c095a5c6cb5f749613672ab26c492fd55459b125.zip
dlist: Use a DoubleEndedIterator for .mut_iter() and .mut_rev_iter()
Unify the mutable iterators too. Switch the ListInsertion trait to use
method .insert_next() and .peek_next() for list mutation. .insert_next()
inserts an element into the list that will not appear in iteration, of
course; so the length of the iteration can not change during iteration.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions