about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorChase Southwood <chase.southwood@gmail.com>2014-12-12 00:04:47 -0600
committerChase Southwood <chase.southwood@gmail.com>2014-12-15 19:26:28 -0600
commit765806ef1ee93b352b724aa76870d23d82894e4e (patch)
tree62f8cfd05a96017e0bfda339864811362f76e2cd /src/rustllvm/RustWrapper.cpp
parent0669a432a2e09ad08886cb2138dbe9f5d681fb7f (diff)
downloadrust-765806ef1ee93b352b724aa76870d23d82894e4e.tar.gz
rust-765806ef1ee93b352b724aa76870d23d82894e4e.zip
Use wrapper structs for `BTreeMap`'s iterators.
Using a type alias for iterator implementations is fragile since this
exposes the implementation to users of the iterator, and any changes
could break existing code.

This commit changes the keys and values iterators of `BTreeMap` to use
proper new types, rather than type aliases.  However, since it is
fair-game to treat a type-alias as the aliased type, this is a:

[breaking-change].
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions