diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-12-18 10:14:44 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-12-24 19:59:54 -0800 |
| commit | 1c4af5e3d93fe2953c31f8a76ee2aed15069204a (patch) | |
| tree | 9c033596228af15427cd7c952c9713599c937ced /src/libstd | |
| parent | 3dc38b0c51f8b98ea550b5a3842c87884f10fa8d (diff) | |
| download | rust-1c4af5e3d93fe2953c31f8a76ee2aed15069204a.tar.gz rust-1c4af5e3d93fe2953c31f8a76ee2aed15069204a.zip | |
rustuv: Remove the id() function from IoFactory
The only user of this was the homing code in librustuv, and it just manually does the cast from a pointer to a uint now.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/rt/rtio.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstd/rt/rtio.rs b/src/libstd/rt/rtio.rs index c1c40cc6dff..97b08cc18ca 100644 --- a/src/libstd/rt/rtio.rs +++ b/src/libstd/rt/rtio.rs @@ -150,8 +150,6 @@ impl<'a> LocalIo<'a> { } pub trait IoFactory { - fn id(&self) -> uint; - // networking fn tcp_connect(&mut self, addr: SocketAddr) -> Result<~RtioTcpStream, IoError>; fn tcp_bind(&mut self, addr: SocketAddr) -> Result<~RtioTcpListener, IoError>; |
