From cc61f9c1d5baa29209b29a51cb9c553dcb2fb725 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Wed, 18 Feb 2015 17:31:26 -0500 Subject: [PATCH] Minor unused imports etc. --- src/libstd/path.rs | 1 - src/libstd/thread.rs | 2 +- src/libterm/lib.rs | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libstd/path.rs b/src/libstd/path.rs index e3650537a63..1d992668900 100755 --- a/src/libstd/path.rs +++ b/src/libstd/path.rs @@ -143,7 +143,6 @@ mod platform { use super::Prefix; use core::prelude::*; use ffi::OsStr; - use std::marker::PhantomData; #[inline] pub fn is_sep_byte(b: u8) -> bool { diff --git a/src/libstd/thread.rs b/src/libstd/thread.rs index 2d825a0f455..3653e7e31d5 100644 --- a/src/libstd/thread.rs +++ b/src/libstd/thread.rs @@ -153,7 +153,7 @@ use any::Any; use cell::UnsafeCell; use fmt; use io; -use marker::{PhantomData, Send, Sync}; +use marker::PhantomData; use old_io::stdio; use rt::{self, unwind}; use sync::{Mutex, Condvar, Arc}; diff --git a/src/libterm/lib.rs b/src/libterm/lib.rs index 304f370a199..5418533aff1 100644 --- a/src/libterm/lib.rs +++ b/src/libterm/lib.rs @@ -50,7 +50,6 @@ html_playground_url = "http://play.rust-lang.org/")] #![deny(missing_docs)] -#![feature(core)] #![feature(box_syntax)] #![feature(collections)] #![feature(int_uint)]