Document when `Box<T>` to `Box<U>` transmute is sound We hadn't documented when it's sound to transmute a `Box<T>` to a `Box<U>`. Now that we've documented when `*mut T` and `*mut U` can be assumed to have the same layout, let's use that to document when this transmute is sound.
This document is the primary reference for the Rust programming language.
See the Reference Developer Guide for information on contributing to the Reference.