mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
382ba73062
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 #99606.