Export core::str::from_raw_parts{,_mut} into alloc::str and std::str

This commit is contained in:
David Tolnay 2024-01-25 18:11:54 -08:00
parent 42afefa09b
commit f94a94227c
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -30,6 +30,8 @@ pub use core::str::SplitAsciiWhitespace;
pub use core::str::SplitInclusive;
#[stable(feature = "rust1", since = "1.0.0")]
pub use core::str::SplitWhitespace;
#[unstable(feature = "str_from_raw_parts", issue = "119206")]
pub use core::str::{from_raw_parts, from_raw_parts_mut};
#[stable(feature = "rust1", since = "1.0.0")]
pub use core::str::{from_utf8, from_utf8_mut, Bytes, CharIndices, Chars};
#[stable(feature = "rust1", since = "1.0.0")]