mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-05 11:33:04 +00:00
e7c468dc59
Currently, `Box<T>` gets `noalias`, meaning it has the same rules as `&mut T`. This is sparsely documented, even though it can have quite a big impact on unsafe code using box. Therefore, these rules are documented here, with a big warning that they are not normative and subject to change, since we have not yet committed to an aliasing model and the state of `Box<T>` is especially uncertain. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |