Skip to content

Commit 42f3f06

Browse files
author
Eric Reed
committed
changed NOTE to TODO
1 parent ce97bd4 commit 42f3f06

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/libstd/rt/uv/net.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub fn ip4_as_uv_ip4<T>(addr: IpAddr, f: &fn(*sockaddr_in) -> T) -> T {
3737
}
3838
}
3939
}
40-
_ => fail!() // NOTE ipv6
40+
_ => fail!() // TODO ipv6
4141
}
4242
}
4343

@@ -279,7 +279,7 @@ impl UdpWatcher {
279279
}
280280
}
281281
}
282-
_ => fail!() // NOTE ipv6
282+
_ => fail!() // TODO ipv6
283283
}
284284
}
285285

@@ -299,7 +299,7 @@ impl UdpWatcher {
299299
return (*alloc_cb)(suggested_size as uint);
300300
}
301301

302-
/* NOTE the socket address should actually be a pointer to
302+
/* TODO the socket address should actually be a pointer to
303303
either a sockaddr_in or sockaddr_in6.
304304
In libuv, the udp_recv callback takes a struct *sockaddr */
305305
extern fn recv_cb(handle: *uvll::uv_udp_t, nread: ssize_t, buf: Buf,
@@ -336,7 +336,7 @@ impl UdpWatcher {
336336
}
337337
}
338338
}
339-
_ => fail!() // NOTE ipv6
339+
_ => fail!() // TODO ipv6
340340
}
341341

342342
extern fn send_cb(req: *uvll::uv_udp_send_t, status: c_int) {

src/libstd/rt/uv/uvio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ impl RtioUdpSocket for UvUdpSocket {
481481
let task_cell = Cell::new(task);
482482
let alloc: AllocCallback = |_| unsafe { slice_to_uv_buf(*buf_ptr) };
483483
do self.recv_start(alloc) |watcher, nread, _buf, addr, flags, status| {
484-
let _ = flags; // NOTE add handling for partials?
484+
let _ = flags; // TODO add handling for partials?
485485

486486
watcher.recv_stop();
487487

0 commit comments

Comments
 (0)