From 4885ffb5796e780fc4307c9342af082f747cb229 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Mon, 7 May 2012 15:56:12 -0700 Subject: [PATCH] core: Export str::unsafe::from_buf_len/from_c_str_len --- src/libcore/str.rs | 2 ++ 1 file changed, 2 insertions(+) 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,