-
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(io_slice_as_bytes)]
This is a tracking issue for getting the underlying slice out of an IoSlice
/IoSliceMut
Public API
// std::io
impl<'a> IoSlice<'a> {
pub const fn as_slice(self) -> &'a [u8] {
}
impl<'a> IoSliceMut<'a> {
pub const fn into_slice(self) -> &'a mut [u8];
}
Steps / History
- ACP:
as_slice
/into_slice
forIoSlice
/IoSliceMut
libs-team#93 - Implementation: Add as_slice/into_slice for IoSlice/IoSliceMut. #132790
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
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.