Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking Issue for array::repeat #126695

Open
2 of 4 tasks
joboet opened this issue Jun 19, 2024 · 0 comments
Open
2 of 4 tasks

Tracking Issue for array::repeat #126695

joboet opened this issue Jun 19, 2024 · 0 comments
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. F-array_repeat `#![feature(array_repeat)]` T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@joboet
Copy link
Member

joboet commented Jun 19, 2024

Feature gate: #![feature(array_repeat)]

This is a tracking issue for array::repeat, a function for creating array filled with a single Cloneable value.

Public API

// core::array

pub fn repeat<T: Clone, const N: usize>(v: T) -> [T; N];

Steps / History

Unresolved Questions

  • None yet.

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

@joboet joboet added T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. labels Jun 19, 2024
@jieyouxu jieyouxu added the F-array_repeat `#![feature(array_repeat)]` label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. F-array_repeat `#![feature(array_repeat)]` T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants