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

Guarantee try_reserve preserves the contents on error #100331

Merged
merged 1 commit into from
Aug 22, 2022

Commits on Aug 9, 2022

  1. Guarantee try_reserve preserves the contents on error

    Update doc comments to make the guarantee explicit. However, some
    implementations does not have the statement though.
    
    * `HashMap`, `HashSet`: require guarantees on hashbrown side.
    * `PathBuf`: simply redirecting to `OsString`.
    
    Fixes rust-lang#99606.
    lo48576 committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    2bb7e1e View commit details
    Browse the repository at this point in the history