about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-08-22 20:34:12 +0530
committerGitHub <noreply@github.com>2022-08-22 20:34:12 +0530
commit382ba73062e6ea48dbdd3fab623d4c530ea9a476 (patch)
treee00d640851fa41eb78d7732eec15d14db06a5d6b /compiler/rustc_codegen_llvm/src
parentc1a5ec7faf6c32af2f0aae1af4420e1bb1a3a7fe (diff)
parent2bb7e1e6edf58c39faabb67cfab63dd8109d8055 (diff)
downloadrust-382ba73062e6ea48dbdd3fab623d4c530ea9a476.tar.gz
rust-382ba73062e6ea48dbdd3fab623d4c530ea9a476.zip
Rollup merge of #100331 - lo48576:try-reserve-preserve-on-failure, r=thomcc
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions