Skip to content

Commit 4885ffb

Browse files
committed
core: Export str::unsafe::from_buf_len/from_c_str_len
1 parent b99038c commit 4885ffb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcore/str.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,9 @@ fn capacity(&&s: str) -> uint unsafe {
16291629
mod unsafe {
16301630
export
16311631
from_buf,
1632+
from_buf_len,
16321633
from_c_str,
1634+
from_c_str_len,
16331635
from_bytes,
16341636
slice_bytes,
16351637
push_byte,

0 commit comments

Comments
 (0)