diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2021-03-01 15:07:38 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-01 15:07:38 +0900 |
| commit | 1b9f420e1b1c95ac15c5fa84e9e2bbbd5ac3f308 (patch) | |
| tree | c6d5a697949ed3925e8050697d622b647dbb9455 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | d65b231ceca9ba38c95fb19b8486a09fc7f44fa9 (diff) | |
| parent | cdfff98394d01054acbe27f8416e8de2d6178c3b (diff) | |
| download | rust-1b9f420e1b1c95ac15c5fa84e9e2bbbd5ac3f308.tar.gz rust-1b9f420e1b1c95ac15c5fa84e9e2bbbd5ac3f308.zip | |
Rollup merge of #82628 - vakaras:realloc-doc, r=Mark-Simulacrum
Try to clarify GlobalAlloc::realloc documentation comment. This PR tries to improve the documentation of [GlobalAlloc::realloc](https://doc.rust-lang.org/alloc/alloc/trait.GlobalAlloc.html#method.realloc) with two aspects: 1. Explicitly mention that `realloc` preserves the contents of the original memory block. 2. Explicitly mention which layout should be used to deallocate the reallocated block.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
