rollup merge of #22129: steveklabnik/gh22032

Fixes #22032
This commit is contained in:
Alex Crichton 2015-02-10 08:43:09 -08:00
commit e630ed6983
1 changed files with 2 additions and 3 deletions

View File

@ -222,12 +222,11 @@ extern "rust-intrinsic" {
/// Unsafely transforms a value of one type into a value of another type.
///
/// Both types must have the same size and alignment, and this guarantee
/// is enforced at compile-time.
/// Both types must have the same size.
///
/// # Examples
///
/// ```rust
/// ```
/// use std::mem;
///
/// let v: &[u8] = unsafe { mem::transmute("L") };