about summary refs log tree commit diff
path: root/src/libnative
diff options
context:
space:
mode:
authorRicho Healey <richo@psych0tik.net>2014-05-25 03:17:19 -0700
committerRicho Healey <richo@psych0tik.net>2014-05-27 12:59:31 -0700
commit1f1b2e42d76ba1cd884adc49922636a6c2ac1b2f (patch)
tree2a56d5ceda84c1a58796fe0fc4e7cea38a9336f6 /src/libnative
parent4348e23b269739657d934b532ad061bfd6d92309 (diff)
std: Rename strbuf operations to string
[breaking-change]
Diffstat (limited to 'src/libnative')
-rw-r--r--src/libnative/io/addrinfo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnative/io/addrinfo.rs b/src/libnative/io/addrinfo.rs
index 64b082d9f3f..6bc41a9c4c5 100644
--- a/src/libnative/io/addrinfo.rs
+++ b/src/libnative/io/addrinfo.rs
@@ -106,7 +106,7 @@ fn get_error(s: c_int) -> IoError {
     use std::io;
 
     let err_str = unsafe {
-        CString::new(gai_strerror(s), false).as_str().unwrap().to_strbuf()
+        CString::new(gai_strerror(s), false).as_str().unwrap().to_string()
     };
     IoError {
         kind: io::OtherIoError,