Remove some uses of str_buf builtin. Issue #855

This commit is contained in:
Brian Anderson 2011-08-31 22:14:49 -07:00
parent bb56a75343
commit 4c25d81041
3 changed files with 2 additions and 5 deletions

View File

@ -1,8 +1,6 @@
export unsafe_from_bytes;
native "rust" mod rustrt {
type sbuf;
fn str_buf(s: str) -> sbuf;
fn str_from_vec(b: &[mutable? u8]) -> str;
fn refcount<T>(s: str) -> uint;
}

View File

@ -189,7 +189,7 @@ mod test_native_items {
type sbuf;
#[attr]
fn str_buf(s: str) -> sbuf;
fn unsupervise();
}
}

View File

@ -1,8 +1,7 @@
native "rust" mod rustrt {
type sbuf;
fn str_buf(s: str) -> sbuf;
fn unsupervise();
}
native "rust" mod bar = "" { }