From 1c4af5e3d93fe2953c31f8a76ee2aed15069204a Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 18 Dec 2013 10:14:44 -0800 Subject: 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. --- src/libstd/rt/rtio.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/libstd/rt') 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>; -- cgit 1.4.1-3-g733a5