summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2018-05-31 16:10:01 +0900
committerSimon Sapin <simon.sapin@exyr.org>2018-06-11 13:47:23 -0700
commit3373204ac49ebdb7194020ea9c556ce87910f7b7 (patch)
tree051b58bf4a75f04dc771f1638003802295592a96 /src/libstd
parentf6ab74b8e7efed01c1045773b6693f23f6ebd93c (diff)
downloadrust-3373204ac49ebdb7194020ea9c556ce87910f7b7.tar.gz
rust-3373204ac49ebdb7194020ea9c556ce87910f7b7.zip
Replace `impl GlobalAlloc for Global` with a set of free functions
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/alloc.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/alloc.rs b/src/libstd/alloc.rs
index ac7da5e9dba..3f31fa8e1dd 100644
--- a/src/libstd/alloc.rs
+++ b/src/libstd/alloc.rs
@@ -14,6 +14,7 @@
 
 #[doc(inline)] #[allow(deprecated)] pub use alloc_crate::alloc::Heap;
 #[doc(inline)] pub use alloc_crate::alloc::{Global, Layout, oom};
+#[doc(inline)] pub use alloc_crate::alloc::{alloc, alloc_zeroed, dealloc, realloc};
 #[doc(inline)] pub use alloc_system::System;
 #[doc(inline)] pub use core::alloc::*;