about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-05-07 15:56:12 -0700
committerBrian Anderson <banderson@mozilla.com>2012-05-07 15:56:53 -0700
commit4885ffb5796e780fc4307c9342af082f747cb229 (patch)
tree9f8717f575b5ddf873647d9eeb6022d7a0647c4c /src/libcore
parentb99038c2bf02a24501320783feb5b1f6c5763d73 (diff)
downloadrust-4885ffb5796e780fc4307c9342af082f747cb229.tar.gz
rust-4885ffb5796e780fc4307c9342af082f747cb229.zip
core: Export str::unsafe::from_buf_len/from_c_str_len
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/str.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/str.rs b/src/libcore/str.rs
index 12258f5eb27..71d7c69485f 100644
--- a/src/libcore/str.rs
+++ b/src/libcore/str.rs
@@ -1629,7 +1629,9 @@ fn capacity(&&s: str) -> uint unsafe {
 mod unsafe {
    export
       from_buf,
+      from_buf_len,
       from_c_str,
+      from_c_str_len,
       from_bytes,
       slice_bytes,
       push_byte,