about summary refs log tree commit diff
path: root/src/libcore/rt/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/rt/mod.rs')
-rw-r--r--src/libcore/rt/mod.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libcore/rt/mod.rs b/src/libcore/rt/mod.rs
index c8532f6b94a..2fac1df01a4 100644
--- a/src/libcore/rt/mod.rs
+++ b/src/libcore/rt/mod.rs
@@ -67,9 +67,6 @@ pub mod task;
 /// The coroutine task scheduler, built on the `io` event loop.
 mod sched;
 
-/// Thread-local access to the current Scheduler.
-pub mod local_sched;
-
 /// Synchronous I/O.
 #[path = "io/mod.rs"]
 pub mod io;
@@ -189,7 +186,7 @@ pub fn context() -> RuntimeContext {
 
     use task::rt::rust_task;
     use self::local::Local;
-    use self::sched::{local_sched, Scheduler};
+    use self::sched::Scheduler;
 
     // XXX: Hitting TLS twice to check if the scheduler exists
     // then to check for the task is not good for perf
@@ -220,7 +217,7 @@ pub fn context() -> RuntimeContext {
 #[test]
 fn test_context() {
     use unstable::run_in_bare_thread;
-    use self::sched::{local_sched, Scheduler, Coroutine};
+    use self::sched::{Scheduler, Coroutine};
     use rt::uv::uvio::UvEventLoop;
     use cell::Cell;
     use rt::local::Local;