Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #79222 - yoshuawuyts:slice-fill-with, r=m-ou-se
Add `core::slice::fill_with` Tracking issue #79221. As suggested by `@m-ou-se` in #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`
- Loading branch information