diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-02-27 00:10:03 -0500 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-03-04 12:27:01 -0500 |
| commit | dfb5c10dea0dd7bc56950148fa23fd02a07706fa (patch) | |
| tree | 18fc8c7483b7acf5c1ee8e22cbd92bd119541b66 /src/libcore/util.rs | |
| parent | 55461d888f63e7113f1ea40e586e4917abe4815b (diff) | |
| download | rust-dfb5c10dea0dd7bc56950148fa23fd02a07706fa.tar.gz rust-dfb5c10dea0dd7bc56950148fa23fd02a07706fa.zip | |
Remove unused imports throughout src/
Diffstat (limited to 'src/libcore/util.rs')
| -rw-r--r-- | src/libcore/util.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/util.rs b/src/libcore/util.rs index 522cb2d2783..48be6178ed2 100644 --- a/src/libcore/util.rs +++ b/src/libcore/util.rs @@ -14,7 +14,6 @@ Miscellaneous helpers for common patterns. */ -use cmp::Eq; use prelude::*; /// The identity function. @@ -102,8 +101,8 @@ pub fn unreachable() -> ! { fail!(~"internal error: entered unreachable code"); } +#[cfg(test)] mod tests { - use option::{None, Some}; use util::{NonCopyable, id, replace, swap}; #[test] |
