Removed prelude::* from libstd files.
This replaces the imports from the prelude with the re-exported symbols.
This commit is contained in:
parent
c3ccaacc6c
commit
813886b22c
9 changed files with 48 additions and 14 deletions
|
@ -11,12 +11,16 @@
|
|||
// Migrate documentation over from `std::vec` when it is removed.
|
||||
#[doc(hidden)];
|
||||
|
||||
use prelude::*;
|
||||
use ops::Drop;
|
||||
use option::{None, Option, Some};
|
||||
use clone::Clone;
|
||||
use iter::{DoubleEndedIterator, Iterator};
|
||||
use num::CheckedMul;
|
||||
use container::Container;
|
||||
use mem::size_of;
|
||||
use cast::{forget, transmute};
|
||||
use rt::global_heap::{malloc_raw, realloc_raw};
|
||||
use vec::Items;
|
||||
use vec::{ImmutableVector, Items, MutableVector};
|
||||
use unstable::raw::Slice;
|
||||
use ptr::{offset, read_ptr};
|
||||
use libc::{free, c_void};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue