We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c54d2d commit 1c8c94aCopy full SHA for 1c8c94a
src/libcore/intrinsics.rs
@@ -729,10 +729,6 @@ extern "rust-intrinsic" {
729
/// cause [undefined behavior][ub] with this function. `transmute` should be
730
/// the absolute last resort.
731
///
732
- /// `transmute` is re-exported by [core::mem](../mem/index.html) as
733
- /// `core::mem::transmute`, which may be used without the `core_intrinsics`
734
- /// feature flag.
735
- ///
736
/// The [nomicon](../../nomicon/transmutes.html) has additional
737
/// documentation.
738
src/libcore/mem.rs
@@ -15,6 +15,7 @@ use ptr;
15
use ops::{Deref, DerefMut};
16
17
#[stable(feature = "rust1", since = "1.0.0")]
18
+#[doc(inline)]
19
pub use intrinsics::transmute;
20
21
/// Takes ownership and "forgets" about the value **without running its destructor**.
0 commit comments