about summary refs log tree commit diff
path: root/src/lib/str.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2011-09-29 17:58:51 -0700
committerPatrick Walton <pcwalton@mimiga.net>2011-09-29 17:58:51 -0700
commitdd7ff8dee4a3172b0c5ecfaf8e0a19970b374e90 (patch)
tree8b16438840d8444b1114a877cf9c19ac64c21e60 /src/lib/str.rs
parenta5b422fe6ba916b8761a70f3043982ce0af77956 (diff)
downloadrust-dd7ff8dee4a3172b0c5ecfaf8e0a19970b374e90.tar.gz
rust-dd7ff8dee4a3172b0c5ecfaf8e0a19970b374e90.zip
stdlib: Export str::buf
Diffstat (limited to 'src/lib/str.rs')
-rw-r--r--src/lib/str.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/str.rs b/src/lib/str.rs
index aa58519d11a..ffc5d24a74a 100644
--- a/src/lib/str.rs
+++ b/src/lib/str.rs
@@ -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);