Skip to content

Commit 9ad7274

Browse files
author
Eric Reed
committed
---
yaml --- r: 83902 b: refs/heads/dist-snap c: b60cf0c h: refs/heads/master v: v3
1 parent 692e046 commit 9ad7274

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: 0983ebe5310d4eb6d289f636f7ed0536c08bbc0e
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: 6a1a7819c9cb15e280681c547548ff8d47412f04
9+
refs/heads/dist-snap: b60cf0c5b0cf36625083c2624df9fb35d0af3578
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/libstd/rt/rtio.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ pub type IoFactoryObject = uvio::UvIoFactory;
2323
pub type RtioTcpStreamObject = uvio::UvTcpStream;
2424
pub type RtioTcpListenerObject = uvio::UvTcpListener;
2525
pub type RtioUdpSocketObject = uvio::UvUdpSocket;
26-
pub type RtioTcpSocketObject = (); // TODO
2726

2827
pub trait EventLoop {
2928
fn run(&mut self);

branches/dist-snap/src/libstd/rt/uv/uvio.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ impl Drop for UvTcpListener {
316316
}
317317

318318
impl RtioSocket for UvTcpListener {
319-
// TODO
319+
// XXX implement
320320
fn socket_name(&self) -> IpAddr { fail!(); }
321321
}
322322

@@ -356,7 +356,7 @@ impl RtioTcpListener for UvTcpListener {
356356
return self.incoming_streams.recv();
357357
}
358358

359-
// TODO
359+
// XXX implement
360360
fn accept_simultaneously(&self) { fail!(); }
361361
fn dont_accept_simultaneously(&self) { fail!(); }
362362
}
@@ -379,7 +379,7 @@ impl Drop for UvTcpStream {
379379
}
380380

381381
impl RtioSocket for UvTcpStream {
382-
// TODO
382+
// XXX implement
383383
fn socket_name(&self) -> IpAddr { fail!(); }
384384
}
385385

@@ -455,7 +455,7 @@ impl RtioTcpStream for UvTcpStream {
455455
return result_cell.take();
456456
}
457457

458-
// TODO
458+
// XXX implement
459459
fn peer_name(&self) -> IpAddr { fail!(); }
460460
fn control_congestion(&self) { fail!(); }
461461
fn nodelay(&self) { fail!(); }
@@ -480,7 +480,7 @@ impl Drop for UvUdpSocket {
480480
}
481481

482482
impl RtioSocket for UvUdpSocket {
483-
// TODO
483+
// XXX implement
484484
fn socket_name(&self) -> IpAddr { fail!(); }
485485
}
486486

@@ -498,7 +498,7 @@ impl RtioUdpSocket for UvUdpSocket {
498498
let task_cell = Cell::new(task);
499499
let alloc: AllocCallback = |_| unsafe { slice_to_uv_buf(*buf_ptr) };
500500
do self.recv_start(alloc) |watcher, nread, _buf, addr, flags, status| {
501-
let _ = flags; // TODO add handling for partials?
501+
let _ = flags; // XXX add handling for partials?
502502

503503
watcher.recv_stop();
504504

@@ -548,7 +548,7 @@ impl RtioUdpSocket for UvUdpSocket {
548548
return result_cell.take();
549549
}
550550

551-
// TODO
551+
// XXX implement
552552
fn join_multicast(&self, _multi: IpAddr) { fail!(); }
553553
fn leave_multicast(&self, _multi: IpAddr) { fail!(); }
554554

0 commit comments

Comments
 (0)