Skip to content

Commit cb54c8c

Browse files
author
Eric Reed
committed
---
yaml --- r: 63684 b: refs/heads/snap-stage3 c: c5b19f0 h: refs/heads/master v: v3
1 parent d923689 commit cb54c8c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: d0c812f2a8064a9ea1b6a309343c00a5c18c9ce4
4+
refs/heads/snap-stage3: c5b19f0bf9c2f32f368b0f2565a06ae0271a96c1
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libstd/rt/uv/net.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@ use rt::uv::uvll::*;
1515
use rt::uv::{AllocCallback, ConnectionCallback, ReadCallback, UdpReceiveCallback, UdpSendCallback};
1616
use rt::uv::{Loop, Watcher, Request, UvError, Buf, NativeHandle, NullCallback,
1717
status_to_maybe_uv_error};
18-
use rt::io::net::ip::{IpAddr, Ipv4, Ipv6};
18+
use rt::io::net::ip::{IpAddr, Ipv4};
1919
use rt::uv::last_uv_error;
2020
use vec;
2121
use str;
2222
use from_str::{FromStr};
2323

24-
//#[cfg(test)] use rt::test::*;
25-
2624
pub fn ip4_as_uv_ip4<T>(addr: IpAddr, f: &fn(*sockaddr_in) -> T) -> T {
2725
match addr {
2826
Ipv4(a, b, c, d, p) => {
@@ -39,7 +37,7 @@ pub fn ip4_as_uv_ip4<T>(addr: IpAddr, f: &fn(*sockaddr_in) -> T) -> T {
3937
}
4038
}
4139
}
42-
Ipv6 => fail!()
40+
_ => fail!() // NOTE ipv6
4341
}
4442
}
4543

0 commit comments

Comments
 (0)