Skip to content

Commit 7da2074

Browse files
committed
strdup_uniq doesn't have to be pub.
1 parent 9e89ffc commit 7da2074

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libstd/str.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,9 +1376,8 @@ pub mod raw {
13761376

13771377
#[lang="strdup_uniq"]
13781378
#[cfg(not(test))]
1379-
#[allow(missing_doc)]
13801379
#[inline]
1381-
pub unsafe fn strdup_uniq(ptr: *u8, len: uint) -> ~str {
1380+
unsafe fn strdup_uniq(ptr: *u8, len: uint) -> ~str {
13821381
from_buf_len(ptr, len)
13831382
}
13841383

0 commit comments

Comments
 (0)