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 HashMap::get_key_value_mut #145

Merged
merged 1 commit into from Mar 7, 2020

Commits on Mar 7, 2020

  1. Add HashMap::get_key_value_mut

    This new API exposes a way to modify a value of an HashMap while keeping
    a reference to the relative key. The other safe way of doing this is
    using the `RawEntryMut` API, which could easily lead to an
    inconsistent state of the map if misused.
    dodomorandi committed Mar 7, 2020
    Copy the full SHA
    1e7bf40 View commit details
    Browse the repository at this point in the history