strdup_uniq doesn't have to be pub.

This commit is contained in:
Lindsey Kuper 2014-03-16 19:50:22 -04:00
parent 9e89ffc60e
commit 7da2074827

View File

@ -1376,9 +1376,8 @@ pub mod raw {
#[lang="strdup_uniq"]
#[cfg(not(test))]
#[allow(missing_doc)]
#[inline]
pub unsafe fn strdup_uniq(ptr: *u8, len: uint) -> ~str {
unsafe fn strdup_uniq(ptr: *u8, len: uint) -> ~str {
from_buf_len(ptr, len)
}