Tracking Issue for `str_from_raw_parts`
Open
Nobody has claimed this yet.
C-tracking-issue
T-libs
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
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): #107207
- Implementation (take 2): #119466
- Final comment period (FCP)^1
- Stabilization PR
Unresolved Questions
- None yet.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the public API and the implementation history, especially ACP#167 and implementation take 2 in #119466. The remaining work is to follow the final comment period and stabilization process; done means the FCP is complete and a stabilization PR has been opened and accepted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend-api-design, compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 20/100