-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(str_from_raw_parts)]
This is a tracking issue for ACP#167, which adds core::str::from_raw_parts[_mut]
.
Public API
// core::str
pub const unsafe fn from_raw_parts<'a>(ptr: *const u8, len: usize) -> &'a str
pub const unsafe fn from_raw_parts_mut<'a>(ptr: *mut u8, len: usize) -> &'a mut str
Steps / History
- Implementation (take 1): Implement
str::from_raw_parts()
andstr::from_raw_parts_mut()
#107207 - Implementation (take 2): Initial implementation of
str::from_raw_parts[_mut]
#119466 - Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
bjoernager and KisaragiEffective
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.