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/libnative | |
| 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/libnative')
| -rw-r--r-- | src/libnative/io/mod.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libnative/io/mod.rs b/src/libnative/io/mod.rs index 36e3f8af190..32056215e7c 100644 --- a/src/libnative/io/mod.rs +++ b/src/libnative/io/mod.rs @@ -111,9 +111,6 @@ fn mkerr_winbool(ret: libc::c_int) -> IoResult<()> { pub struct IoFactory; impl rtio::IoFactory for IoFactory { - // all native io factories are the same - fn id(&self) -> uint { 0 } - // networking fn tcp_connect(&mut self, _addr: SocketAddr) -> IoResult<~RtioTcpStream> { Err(unimpl()) |
