1
Fork 0

improve the performance of the vec![] macro

Closes #17865
This commit is contained in:
Daniel Micay 2014-10-10 06:19:40 -04:00
parent 310f2deb99
commit 02d976a7f9
5 changed files with 13 additions and 14 deletions

View file

@ -272,7 +272,9 @@ mod std {
// The test runner calls ::std::os::args() but really wants realstd
#[cfg(test)] pub use realstd::os as os;
// The test runner requires std::slice::Vector, so re-export std::slice just for it.
#[cfg(test)] pub use slice;
//
// It is also used in vec![]
pub use slice;
pub use collections; // vec!() uses MutableSeq
pub use boxed; // used for vec![]
}