Skip to content

Commit f94a942

Browse files
committed
Export core::str::from_raw_parts{,_mut} into alloc::str and std::str
1 parent 42afefa commit f94a942

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: library/alloc/src/str.rs

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ pub use core::str::SplitAsciiWhitespace;
3030
pub use core::str::SplitInclusive;
3131
#[stable(feature = "rust1", since = "1.0.0")]
3232
pub use core::str::SplitWhitespace;
33+
#[unstable(feature = "str_from_raw_parts", issue = "119206")]
34+
pub use core::str::{from_raw_parts, from_raw_parts_mut};
3335
#[stable(feature = "rust1", since = "1.0.0")]
3436
pub use core::str::{from_utf8, from_utf8_mut, Bytes, CharIndices, Chars};
3537
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)