core: Inherit the mem module
This commit is contained in:
parent
5b75e44fb0
commit
dca8a0d6e4
|
@ -24,3 +24,4 @@
|
|||
/* Core modules for ownership management */
|
||||
|
||||
pub mod intrinsics;
|
||||
pub mod mem;
|
||||
|
|
|
@ -13,8 +13,6 @@
|
|||
//! This module contains functions for querying the size and alignment of
|
||||
//! types, initializing and manipulating memory.
|
||||
|
||||
#![allow(missing_doc)] // FIXME
|
||||
|
||||
use cast;
|
||||
use ptr;
|
||||
use intrinsics;
|
|
@ -134,6 +134,7 @@ extern crate core;
|
|||
#[cfg(test)] pub use owned = realstd::owned;
|
||||
|
||||
pub use core::intrinsics;
|
||||
pub use core::mem;
|
||||
|
||||
// Run tests with libgreen instead of libnative.
|
||||
//
|
||||
|
@ -243,8 +244,6 @@ pub mod path;
|
|||
pub mod cast;
|
||||
pub mod fmt;
|
||||
pub mod cleanup;
|
||||
pub mod mem;
|
||||
|
||||
|
||||
/* Unsupported interfaces */
|
||||
|
||||
|
|
Loading…
Reference in New Issue