Skip to content

Commit 7e8c363

Browse files
committed
Fix missed pattern on std::net_tcp.
1 parent 70c202e commit 7e8c363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/net_tcp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ fn connect(+input_ip: ip::IpAddr, port: uint,
182182
ptr::addr_of(in_addr),
183183
tcp_connect_on_connect_cb)
184184
}
185-
ip::Ipv6(addr) => {
185+
ip::Ipv6(ref addr) => {
186186
log(debug, fmt!("addr: %?", addr));
187187
let in_addr = uv::ll::ip6_addr(addr_str, port as int);
188188
uv::ll::tcp_connect6(

0 commit comments

Comments
 (0)