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 01:02:19 -0600
committerChase Southwood <chase.southwood@gmail.com>2014-12-15 19:28:45 -0600
commit85fe141fb7c066e88a6872e74347c5f34d0223a7 (patch)
tree39da1b2599e4ee0000a28aa7b26ce3b5964f6996 /src/rustllvm/RustWrapper.cpp
parenta81c3ab468ad7aebcab8a545b196e74c2fb3ac32 (diff)
downloadrust-85fe141fb7c066e88a6872e74347c5f34d0223a7.tar.gz
rust-85fe141fb7c066e88a6872e74347c5f34d0223a7.zip
Use wrapper structs for `HashMap`'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 `HashMap` 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