-
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 RFCF-array_repeat`#![feature(array_repeat)]``#![feature(array_repeat)]`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.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.proposed-final-comment-periodProposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.
Description
Feature gate: #![feature(array_repeat)]
This is a tracking issue for array::repeat
, a function for creating array filled with a single Clone
able value.
Public API
// core::array
pub fn repeat<T: Clone, const N: usize>(v: T) -> [T; N];
Steps / History
- ACP: Add
array::repeat
for making an array from a non-Copy
non-const
value libs-team#310 - Implementation: Implement
array::repeat
#119127 - Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
0x8f701, joseluis, shepmaster, its-the-shrimp and jdahlstrom
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 RFCF-array_repeat`#![feature(array_repeat)]``#![feature(array_repeat)]`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.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.proposed-final-comment-periodProposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.