diff options
| author | Josh Stone <jistone@redhat.com> | 2019-05-16 15:10:52 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2019-05-16 15:10:52 -0700 |
| commit | 5f938342ce72816bb4e8bc6f6144ffaa0ca08b05 (patch) | |
| tree | bfe9787be72e2978a8c17d5dee4139ebdca3fe27 /src/test/ui/thinlto | |
| parent | 7d5aa43325ad7629766b1183011f5bf5b2a1ea26 (diff) | |
| download | rust-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
