mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
9c1aa12ff1
Better document `Box` and `alloc::alloc::box_free` connection The internal `alloc::alloc::box_free` function requires that its signature matches the `owned_box` struct's declaration, but previously that connection was only documented on the `box_free` function. This PR makes the documentation two-way to help anyone making theoretical changes to `Box` to see the connection, since changes are more likely to originate from `Box`. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |