Skip to content

Commit

Permalink
Rollup merge of rust-lang#22129 - steveklabnik:gh22032, r=alexcrichton
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Feb 10, 2015
2 parents 4a8d205 + e40d058 commit 84214d1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/libcore/intrinsics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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") };
Expand Down

0 comments on commit 84214d1

Please sign in to comment.