-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Tracking Issue for core_slice_as_array. #133508
Copy link
Copy link
Closed
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.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
Milestone
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.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Feature gate:
#![feature(core_slice_as_array)]This is a tracking issue for adding conversion functions going from slices to arrays.
This tracking issue has been branched into #148082.
Public API
Steps / History
[_],*const [_], and*mut [_]: Addas_arrayandas_mut_arrayconversion methods to slices. #133512<[_]>::as_array: Fix docs for<[T]>::as_array. #133743as_arrayin[_]and*const [_]; stabiliseas_mut_arrayin[_]and*mut [_]. #147540Unresolved Questions
: Will be moved to new tracking issue in due time.str::as_bytes_arrayandstr::as_bytes_array_mut?