about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-12-06 17:21:57 +0100
committerGitHub <noreply@github.com>2023-12-06 17:21:57 +0100
commit49d65942787ccc4696877f1d6b40a76790bda601 (patch)
tree6c699bc76b96ae33c02500d65617b3b239997641 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentf1e180451b2782efa1c31e634945da255070d340 (diff)
parentc7d8c65c1a3ca9f1d5cb13c5ea4db4243ea975bf (diff)
downloadrust-49d65942787ccc4696877f1d6b40a76790bda601.tar.gz
rust-49d65942787ccc4696877f1d6b40a76790bda601.zip
Rollup merge of #117563 - 0xalpharush:docs/into-raw, r=workingjubilee
docs: clarify explicitly freeing heap allocated memory

The documentation for `Box::into_raw` didn't mention `drop` and wondered if I was doing something wrong. Based off [this](https://stackoverflow.com/questions/75441199/rust-how-do-i-correctly-free-heap-allocated-memory), I think it's helpful to include the more concise yet explicit way to free heap allocated memory. This is my first rust PR and I went through https://std-dev-guide.rust-lang.org/development/, but let me know if I missed something :)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions