diff options
| author | Daniel Farina <daniel@fdr.io> | 2013-05-30 03:16:33 -0700 |
|---|---|---|
| committer | Daniel Farina <daniel@fdr.io> | 2013-05-30 13:08:18 -0700 |
| commit | aef1e10eba812b8144b0a4ac8d9b6e690c6e5ca7 (patch) | |
| tree | ceb3263dbb1b692ea87761c26435fb34a45e7695 /src/libstd/local_data.rs | |
| parent | a39429887a570f05c5da3e5dc8dfbcb6eea98f49 (diff) | |
Remove unnecessary 'use' forms
Fix a laundry list of warnings involving unused imports that glutted up compilation output. There are more, but there seems to be some false positives (where 'remedy' appears to break the build), but this particular set of fixes seems safe.
Diffstat (limited to 'src/libstd/local_data.rs')
| -rw-r--r-- | src/libstd/local_data.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstd/local_data.rs b/src/libstd/local_data.rs index 6227f9ad388..82c01c998cf 100644 --- a/src/libstd/local_data.rs +++ b/src/libstd/local_data.rs @@ -1,4 +1,4 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -29,7 +29,8 @@ magic. use prelude::*; use task::local_data_priv::{local_get, local_pop, local_modify, local_set, Handle}; -use task; + +#[cfg(test)] use task; /** * Indexes a task-local data slot. The function's code pointer is used for |
