Remove some uses of str_buf builtin. Issue #855
This commit is contained in:
parent
bb56a75343
commit
4c25d81041
@ -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;
|
||||
}
|
||||
|
@ -189,7 +189,7 @@ mod test_native_items {
|
||||
type sbuf;
|
||||
|
||||
#[attr]
|
||||
fn str_buf(s: str) -> sbuf;
|
||||
fn unsupervise();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,8 +1,7 @@
|
||||
|
||||
|
||||
native "rust" mod rustrt {
|
||||
type sbuf;
|
||||
fn str_buf(s: str) -> sbuf;
|
||||
fn unsupervise();
|
||||
}
|
||||
|
||||
native "rust" mod bar = "" { }
|
||||
|
Loading…
Reference in New Issue
Block a user