about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2019-05-16 15:10:52 -0700
committerJosh Stone <jistone@redhat.com>2019-05-16 15:10:52 -0700
commit5f938342ce72816bb4e8bc6f6144ffaa0ca08b05 (patch)
treebfe9787be72e2978a8c17d5dee4139ebdca3fe27 /src/test/ui/thinlto
parent7d5aa43325ad7629766b1183011f5bf5b2a1ea26 (diff)
downloadrust-5f938342ce72816bb4e8bc6f6144ffaa0ca08b05.tar.gz
rust-5f938342ce72816bb4e8bc6f6144ffaa0ca08b05.zip
Add entry-like methods to HashSet
* `HashSet::get_or_insert`
* `HashSet::get_or_insert_with`

These provide a simplification of the `Entry` API for `HashSet`, with
names chosen to match the similar methods on `Option`.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions