diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2015-09-24 10:00:54 +1200 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2015-09-24 10:00:54 +1200 |
| commit | 8f51c8d687cb6fd7e98f68b93f40445ecd4690fa (patch) | |
| tree | fee062e380e807b431755b73ba78d8128683f906 /src/liballoc/lib.rs | |
| parent | afae2ff723393b3ab4ccffef6ac7c6d1809e2da0 (diff) | |
| download | rust-8f51c8d687cb6fd7e98f68b93f40445ecd4690fa.tar.gz rust-8f51c8d687cb6fd7e98f68b93f40445ecd4690fa.zip | |
rustfmt liballoc
Diffstat (limited to 'src/liballoc/lib.rs')
| -rw-r--r-- | src/liballoc/lib.rs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index 66de5d7bea8..98c729aaba4 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -107,8 +107,12 @@ extern crate alloc_system; // Allow testing this library -#[cfg(test)] #[macro_use] extern crate std; -#[cfg(test)] #[macro_use] extern crate log; +#[cfg(test)] +#[macro_use] +extern crate std; +#[cfg(test)] +#[macro_use] +extern crate log; // Heaps provided for low-level allocation strategies @@ -123,7 +127,9 @@ pub mod heap; #[cfg(not(test))] pub mod boxed; #[cfg(test)] -mod boxed { pub use std::boxed::{Box, HEAP}; } +mod boxed { + pub use std::boxed::{Box, HEAP}; +} #[cfg(test)] mod boxed_test; pub mod arc; |
