rust/library/alloc
Matthias Krüger 49d6594278
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 :)
2023-12-06 17:21:57 +01:00
..
benches Split Vec::dedup_by into 2 cycles 2023-12-05 21:01:00 +01:00
src Rollup merge of #117563 - 0xalpharush:docs/into-raw, r=workingjubilee 2023-12-06 17:21:57 +01:00
tests Auto merge of #118460 - the8472:fix-vec-realloc, r=saethlin 2023-12-06 08:45:11 +00:00
Cargo.toml Rename {collections=>alloc}{tests,benches} 2023-11-26 12:04:56 +00:00