summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-09-13 18:49:28 -0700
committerGraydon Hoare <graydon@mozilla.com>2012-09-13 19:53:30 -0700
commitc5347b4bf9ebb6064e581ab2fae78867747951eb (patch)
tree660de4ccafa76d255209ed70e57999f9c8df6ccf /src/libstd
parent120a3dede026023be1694b590d604f7f7dcab2c6 (diff)
downloadrust-c5347b4bf9ebb6064e581ab2fae78867747951eb.tar.gz
rust-c5347b4bf9ebb6064e581ab2fae78867747951eb.zip
Fix implicit-instantiation of non-implicitly-copyable warnings.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/net_ip.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/net_ip.rs b/src/libstd/net_ip.rs
index a6357c9fbb7..4e23e3a1592 100644
--- a/src/libstd/net_ip.rs
+++ b/src/libstd/net_ip.rs
@@ -275,7 +275,7 @@ extern fn get_addr_cb(handle: *uv_getaddrinfo_t, status: libc::c_int,
                         result::Err(GetAddrUnknownError));
                     break;
                 };
-                out_vec += ~[move new_ip_addr];
+                vec::push(out_vec, move new_ip_addr);
 
                 let next_addr = ll::get_next_addrinfo(curr_addr);
                 if next_addr == ptr::null::<addrinfo>() as *addrinfo {