about summary refs log tree commit diff
path: root/src/libstd/c_vec.rs
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2014-05-09 22:59:46 -0400
committerDaniel Micay <danielmicay@gmail.com>2014-05-10 19:58:18 -0400
commit121ad1cb7db6517ed2aabc9c1514a99f5eb95149 (patch)
treeb777b0213aecc150a7a18a7cb14643657cc62afb /src/libstd/c_vec.rs
parent87b658cf728b5d7e6b81012460454af634f6e6f8 (diff)
rename `global_heap` -> `libc_heap`
This module only contains wrappers for malloc and realloc with
out-of-memory checks.
Diffstat (limited to 'src/libstd/c_vec.rs')
-rw-r--r--src/libstd/c_vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/c_vec.rs b/src/libstd/c_vec.rs
index 4ef5af9275c..8c2c4fd1f0b 100644
--- a/src/libstd/c_vec.rs
+++ b/src/libstd/c_vec.rs
@@ -160,7 +160,7 @@ mod tests {
     use super::CVec;
     use libc;
     use ptr;
-    use rt::global_heap::malloc_raw;
+    use rt::libc_heap::malloc_raw;
 
     fn malloc(n: uint) -> CVec<u8> {
         unsafe {