about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorJeroen Bollen <contact@jeroenbollen.eu>2017-10-09 21:06:20 +0200
committerJeroen Bollen <contact@jeroenbollen.eu>2017-11-11 16:23:16 +0100
commit0df7f00a0430df0d9c14e4c51919062f44aadaad (patch)
tree8cc288e94b59604aeba6ea697728d82571b0df00 /src/rustllvm/PassWrapper.cpp
parent69ee5a8a9787336f8635ec12ed0c6199a70505e0 (diff)
downloadrust-0df7f00a0430df0d9c14e4c51919062f44aadaad.tar.gz
rust-0df7f00a0430df0d9c14e4c51919062f44aadaad.zip
Addressed issues raised in #44286.
This commit renames the `replace` function to `replace_entry`, and
creates a seperate `replace_key` function for `OccupiedEntry`. The
original `replace` function did not solve the use-case where the
key needed to be replaced, but not the value. Documentation and
naming has also been updated to better reflect what the original
replace function does.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions