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 slice::fill_with #79221

Closed
2 tasks done
yoshuawuyts opened this issue Nov 20, 2020 · 1 comment
Closed
2 tasks done

Tracking Issue for slice::fill_with #79221

yoshuawuyts opened this issue Nov 20, 2020 · 1 comment
Labels
A-slice Area: [T] C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. Libs-Tracked Libs issues that are tracked on the team's project board. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@yoshuawuyts
Copy link
Member

yoshuawuyts commented Nov 20, 2020

The feature gate for the issue is #![feature(slice_fill_with)].

Implementation history

@yoshuawuyts yoshuawuyts added the C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. label Nov 20, 2020
@camelid camelid added A-slice Area: [T] T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Nov 20, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this issue Nov 21, 2020
Add `core::slice::fill_with`

Tracking issue rust-lang#79221.

As suggested by `@m-ou-se` in rust-lang#70758 (comment) this implements `slice::fill_with` as a counterpart to `slice::fill`. This mirrors `Vec::resize` and `Vec::resize_with`. Thanks!

r? `@m-ou-se`
bors added a commit to rust-lang-ci/rust that referenced this issue Nov 21, 2020
Add `core::slice::fill_with`

Tracking issue rust-lang#79221.

As suggested by `@m-ou-se` in rust-lang#70758 (comment) this implements `slice::fill_with` as a counterpart to `slice::fill`. This mirrors `Vec::resize` and `Vec::resize_with`. Thanks!

r? `@m-ou-se`
@KodrAus KodrAus added the Libs-Tracked Libs issues that are tracked on the team's project board. label Dec 16, 2020
@yoshuawuyts
Copy link
Member Author

Stabilization PR filed: #81048

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-slice Area: [T] C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. Libs-Tracked Libs issues that are tracked on the team's project board. 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

3 participants