diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-04-26 12:24:15 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-04-27 21:34:24 -0400 |
| commit | f792baba42b79711b64950c46208a1eb4b9539be (patch) | |
| tree | 246190c51857def54922ac4888e990d2e53164ca /src/librustdoc/config.rs | |
| parent | dd5b1de1812f308ad68472d2ab06c15d3c342d75 (diff) | |
| download | rust-f792baba42b79711b64950c46208a1eb4b9539be.tar.gz rust-f792baba42b79711b64950c46208a1eb4b9539be.zip | |
only use #[no_core] in libcore
Diffstat (limited to 'src/librustdoc/config.rs')
| -rw-r--r-- | src/librustdoc/config.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/librustdoc/config.rs b/src/librustdoc/config.rs index ed1a54c49a7..0644b57a0f4 100644 --- a/src/librustdoc/config.rs +++ b/src/librustdoc/config.rs @@ -8,14 +8,10 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -use core::prelude::*; use core::cell::Cell; -use core::os; -use core::result; use core::run; use core::run::ProgramOutput; -use core::vec; use core::result::Result; use std::getopts; @@ -246,7 +242,6 @@ pub fn maybe_find_pandoc( #[cfg(test)] mod test { use config::*; - use core::prelude::*; use core::run::ProgramOutput; fn parse_config(args: &[~str]) -> Result<Config, ~str> { @@ -379,4 +374,4 @@ mod test { let config = parse_config(~[~"rustdoc", ~"crate.rc"]); assert!(config.get().pandoc_cmd == Some(~"pandoc")); } -} \ No newline at end of file +} |
