diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-02-09 21:51:30 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-02-09 21:51:30 -0500 |
| commit | e40d05800bd2f6c1e68548246a21f305447ae300 (patch) | |
| tree | 431a6e82c65ec7bcc8b8aa4a3fa976f7b01de1b6 | |
| parent | 012e9643e4d6f6fa449ca4f4e5e3fc9fb8e536db (diff) | |
| download | rust-e40d05800bd2f6c1e68548246a21f305447ae300.tar.gz rust-e40d05800bd2f6c1e68548246a21f305447ae300.zip | |
Remove incorrect docs from mem::transmute
Fixes #22032
| -rw-r--r-- | src/libcore/intrinsics.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libcore/intrinsics.rs b/src/libcore/intrinsics.rs index 125e8a0e814..5562845e11d 100644 --- a/src/libcore/intrinsics.rs +++ b/src/libcore/intrinsics.rs @@ -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") }; |
