diff options
| author | Brendan Cully <brendan@kublai.com> | 2013-07-10 22:08:50 -0700 |
|---|---|---|
| committer | Brendan Cully <brendan@kublai.com> | 2013-07-10 22:08:50 -0700 |
| commit | e6e4f52bcf67e78bc0c796cd780fa01791923fdb (patch) | |
| tree | 8f2d6064b1476da7246f79ef67bace24ec94da44 /src/libstd/vec.rs | |
| parent | 9b5d52312622fb301d9e102b3eeca5a7afcdeb9b (diff) | |
| download | rust-e6e4f52bcf67e78bc0c796cd780fa01791923fdb.tar.gz rust-e6e4f52bcf67e78bc0c796cd780fa01791923fdb.zip | |
remove unused imports
Diffstat (limited to 'src/libstd/vec.rs')
| -rw-r--r-- | src/libstd/vec.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs index 825dc4cc187..22ac1287ed8 100644 --- a/src/libstd/vec.rs +++ b/src/libstd/vec.rs @@ -26,7 +26,9 @@ use option::{None, Option, Some}; use ptr::to_unsafe_ptr; use ptr; use ptr::RawPtr; -use rt::global_heap::{malloc_raw, realloc_raw}; +#[cfg(not(stage0))] +use rt::global_heap::malloc_raw; +use rt::global_heap::realloc_raw; use sys; use sys::size_of; use uint; |
