Initial implementation of str::from_raw_parts[_mut]

This commit is contained in:
Sky
2023-12-31 00:02:08 -05:00
parent 64d5515cc3
commit 42afefa09b
2 changed files with 42 additions and 1 deletions

View File

@@ -33,6 +33,9 @@ pub use converts::{from_utf8, from_utf8_unchecked};
#[stable(feature = "str_mut_extras", since = "1.20.0")]
pub use converts::{from_utf8_mut, from_utf8_unchecked_mut};
#[unstable(feature = "str_from_raw_parts", issue = "119206")]
pub use converts::{from_raw_parts, from_raw_parts_mut};
#[stable(feature = "rust1", since = "1.0.0")]
pub use error::{ParseBoolError, Utf8Error};