Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add entry-like methods to HashSet #60894

Merged
merged 3 commits into from
May 17, 2019
Merged

Commits on May 16, 2019

  1. 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`.
    cuviper committed May 16, 2019
    Configuration menu
    Copy the full SHA
    5f93834 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e2c9d3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9161a4d View commit details
    Browse the repository at this point in the history