about summary refs log tree commit diff
path: root/src/libstd/rt/rtio.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-10-24 11:30:35 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-10-24 15:17:27 -0700
commit3ee5ef12fb71be95d6e7f679900a497a2580d25e (patch)
tree33f8f79dc33dcc7404ed9c893529e0f82d009458 /src/libstd/rt/rtio.rs
parent3b30377e14f60e6381dc1536bd53b5f9c7a3d7c7 (diff)
downloadrust-3ee5ef12fb71be95d6e7f679900a497a2580d25e.tar.gz
rust-3ee5ef12fb71be95d6e7f679900a497a2580d25e.zip
Remove the 'callback_ms' function from EventLoop
This is a peculiar function to require event loops to implement, and it's only
used in one spot during tests right now. Instead, a possibly more robust apis
for timers should be used rather than requiring all event loops to implement a
curious-looking function.
Diffstat (limited to 'src/libstd/rt/rtio.rs')
-rw-r--r--src/libstd/rt/rtio.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstd/rt/rtio.rs b/src/libstd/rt/rtio.rs
index 66a0676a2f4..29f728a5e0c 100644
--- a/src/libstd/rt/rtio.rs
+++ b/src/libstd/rt/rtio.rs
@@ -28,7 +28,6 @@ pub trait EventLoop {
     fn run(&mut self);
     fn callback(&mut self, ~fn());
     fn pausible_idle_callback(&mut self) -> ~PausibleIdleCallback;
-    fn callback_ms(&mut self, ms: u64, ~fn());
     fn remote_callback(&mut self, ~fn()) -> ~RemoteCallback;
 
     /// The asynchronous I/O services. Not all event loops may provide one