-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed as not planned
Labels
A-sliceArea: `[T]`Area: `[T]`C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-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
#65806 added [T]::as_ptr_range. It would be nice if there were a slice::from_raw_parts
analog that went the other way. Range<*const T>
is a convenient way to pass around the start and length information needed for a slice.
Metadata
Metadata
Assignees
Labels
A-sliceArea: `[T]`Area: `[T]`C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-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.