about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorJeff Olson <olson.jeffery@gmail.com>2012-06-27 15:45:46 -0700
committerBrian Anderson <banderson@mozilla.com>2012-06-29 15:41:56 -0700
commita696193bab3f09e7c95173e10d1e98d18b8f1bb8 (patch)
tree759c2efb859563ac53a1fc0698f0dba8375f37ac /src/libstd
parentcfcd3e683bd5ce1259231be7f43085832cd9e3b9 (diff)
std: cleanups, post-rebase
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/net_tcp.rs1
-rw-r--r--src/libstd/uv_ll.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/net_tcp.rs b/src/libstd/net_tcp.rs
index feec985b236..76d5ccd3fcc 100644
--- a/src/libstd/net_tcp.rs
+++ b/src/libstd/net_tcp.rs
@@ -6,6 +6,7 @@ import ip = net_ip;
 import uv::iotask;
 import uv::iotask::iotask;
 import comm::methods;
+import future::future;
 import future_spawn = future::spawn;
 // FIXME #1935
 // should be able to, but can't atm, replace w/ result::{result, extensions};
diff --git a/src/libstd/uv_ll.rs b/src/libstd/uv_ll.rs
index 0d6043be36b..a58ffca1dd1 100644
--- a/src/libstd/uv_ll.rs
+++ b/src/libstd/uv_ll.rs
@@ -770,7 +770,7 @@ unsafe fn ip6_addr(ip: str, port: int)
 -> sockaddr_in6 {
     str::as_c_str(ip) {|ip_buf|
         rustrt::rust_uv_ip6_addr(ip_buf as *u8,
-                                 port as libc::c_int);
+                                 port as libc::c_int)
     }
 }
 unsafe fn ip4_name(src: &sockaddr_in) -> str {