about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorEric Reed <ereed@mozilla.com>2013-07-02 17:27:46 -0700
committerEric Reed <ereed@mozilla.com>2013-07-02 17:27:46 -0700
commitb60cf0c5b0cf36625083c2624df9fb35d0af3578 (patch)
treef5132536626eebead6e08f25702d8f26cac148d1 /src/libstd/rt
parent6a1a7819c9cb15e280681c547548ff8d47412f04 (diff)
downloadrust-b60cf0c5b0cf36625083c2624df9fb35d0af3578.tar.gz
rust-b60cf0c5b0cf36625083c2624df9fb35d0af3578.zip
converted TODOs into XXXs
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/rtio.rs1
-rw-r--r--src/libstd/rt/uv/uvio.rs14
2 files changed, 7 insertions, 8 deletions
diff --git a/src/libstd/rt/rtio.rs b/src/libstd/rt/rtio.rs
index bcbdea03234..6bf352ee144 100644
--- a/src/libstd/rt/rtio.rs
+++ b/src/libstd/rt/rtio.rs
@@ -23,7 +23,6 @@ pub type IoFactoryObject = uvio::UvIoFactory;
 pub type RtioTcpStreamObject = uvio::UvTcpStream;
 pub type RtioTcpListenerObject = uvio::UvTcpListener;
 pub type RtioUdpSocketObject = uvio::UvUdpSocket;
-pub type RtioTcpSocketObject = (); // TODO
 
 pub trait EventLoop {
     fn run(&mut self);
diff --git a/src/libstd/rt/uv/uvio.rs b/src/libstd/rt/uv/uvio.rs
index aa1f0fbc194..e9bbe3bb6fb 100644
--- a/src/libstd/rt/uv/uvio.rs
+++ b/src/libstd/rt/uv/uvio.rs
@@ -316,7 +316,7 @@ impl Drop for UvTcpListener {
 }
 
 impl RtioSocket for UvTcpListener {
-    // TODO
+    // XXX implement
     fn socket_name(&self) -> IpAddr { fail!(); }
 }
 
@@ -356,7 +356,7 @@ impl RtioTcpListener for UvTcpListener {
         return self.incoming_streams.recv();
     }
 
-    // TODO
+    // XXX implement
     fn accept_simultaneously(&self) { fail!(); }
     fn dont_accept_simultaneously(&self) { fail!(); }
 }
@@ -379,7 +379,7 @@ impl Drop for UvTcpStream {
 }
 
 impl RtioSocket for UvTcpStream {
-    // TODO
+    // XXX implement
     fn socket_name(&self) -> IpAddr { fail!(); }
 }
 
@@ -455,7 +455,7 @@ impl RtioTcpStream for UvTcpStream {
         return result_cell.take();
     }
 
-    // TODO
+    // XXX implement
     fn peer_name(&self) -> IpAddr { fail!(); }
     fn control_congestion(&self) { fail!(); }
     fn nodelay(&self) { fail!(); }
@@ -480,7 +480,7 @@ impl Drop for UvUdpSocket {
 }
 
 impl RtioSocket for UvUdpSocket {
-    // TODO
+    // XXX implement
     fn socket_name(&self) -> IpAddr { fail!(); }
 }
 
@@ -498,7 +498,7 @@ impl RtioUdpSocket for UvUdpSocket {
             let task_cell = Cell::new(task);
             let alloc: AllocCallback = |_| unsafe { slice_to_uv_buf(*buf_ptr) };
             do self.recv_start(alloc) |watcher, nread, _buf, addr, flags, status| {
-                let _ = flags; // TODO add handling for partials?
+                let _ = flags; // XXX add handling for partials?
 
                 watcher.recv_stop();
 
@@ -548,7 +548,7 @@ impl RtioUdpSocket for UvUdpSocket {
         return result_cell.take();
     }
 
-    // TODO
+    // XXX implement
     fn join_multicast(&self, _multi: IpAddr) { fail!(); }
     fn leave_multicast(&self, _multi: IpAddr) { fail!(); }