stdlib: Export str::buf

This commit is contained in:
Patrick Walton 2011-09-29 17:58:51 -07:00
parent a5b422fe6b
commit dd7ff8dee4
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@ export eq, lteq, hash, is_empty, is_not_empty, is_whitespace, byte_len, index,
unshift_char, shift_char, pop_char, push_char, is_utf8, from_chars,
to_chars, char_len, char_at, bytes, is_ascii, shift_byte, pop_byte,
unsafe_from_byte, unsafe_from_bytes, from_char, char_range_at,
str_from_cstr, sbuf, as_buf, push_byte, utf8_char_width, safe_slice;
str_from_cstr, sbuf, as_buf, push_byte, utf8_char_width, safe_slice,
buf;
native "rust" mod rustrt {
fn rust_str_push(&s: str, ch: u8);