about summary refs log tree commit diff
path: root/src/libcore/lib.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-03-28 22:37:37 +0200
committerSimon Sapin <simon.sapin@exyr.org>2018-03-29 14:58:07 +0200
commit94d1970bba87f2d2893f6e934e4c3f02ed50604d (patch)
tree05bdffecb111abc4dbc2b3d888f87b225277159b /src/libcore/lib.rs
parent1169541e173965531de77c15316e83962a7ae39b (diff)
downloadrust-94d1970bba87f2d2893f6e934e4c3f02ed50604d.tar.gz
rust-94d1970bba87f2d2893f6e934e4c3f02ed50604d.zip
Move the alloc::allocator module to core::heap
This is the `Alloc` trait and its dependencies.
Diffstat (limited to 'src/libcore/lib.rs')
-rw-r--r--src/libcore/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs
index 11fecde3951..c77402ed442 100644
--- a/src/libcore/lib.rs
+++ b/src/libcore/lib.rs
@@ -185,6 +185,10 @@ pub mod hash;
 pub mod fmt;
 pub mod time;
 
+/* Heap memory allocator trait */
+#[allow(missing_docs)]
+pub mod heap;
+
 // note: does not need to be public
 mod char_private;
 mod iter_private;