about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-11-11 20:41:36 +0000
committerbors <bors@rust-lang.org>2017-11-11 20:41:36 +0000
commit45caff88d1dabd71aec9431c07c0b4a77b20f203 (patch)
treefeef49bf7cd145e2c8fe2971ccefb0fef1837608 /src/test/debuginfo/enum-thinlto.rs
parent24bb4d1e758423dd10b517628401c1b2c2437715 (diff)
parent0fb37fc67d0d0278022f355bed2aac0c2b772835 (diff)
downloadrust-45caff88d1dabd71aec9431c07c0b4a77b20f203.tar.gz
rust-45caff88d1dabd71aec9431c07c0b4a77b20f203.zip
Auto merge of #45152 - Binero:master, r=dtolnay
Addressed issues raised in #44286. (`OccupiedEntry::replace_entry`)

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/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions