rust/library/core/src/slice
bors 29a74e6285 Auto merge of #79222 - yoshuawuyts:slice-fill-with, r=m-ou-se
Add `core::slice::fill_with`

Tracking issue https://github.com/rust-lang/rust/issues/79221.

As suggested by `@m-ou-se` in https://github.com/rust-lang/rust/issues/70758#issuecomment-726838099 this implements `slice::fill_with` as a counterpart to `slice::fill`. This mirrors `Vec::resize` and `Vec::resize_with`. Thanks!

r? `@m-ou-se`
2020-11-21 08:15:16 +00:00
..
iter Rename Iterator::get_unchecked 2020-09-25 19:52:01 +01:00
ascii.rs Move ascii to new module 2020-09-14 09:35:54 +00:00
cmp.rs Add lexicographical comparison doc 2020-10-26 22:39:43 +08:00
index.rs Check for exhaustion in SliceIndex for RangeInclusive 2020-10-20 17:18:08 -07:00
iter.rs Rollup merge of #76635 - scottmcm:slice-as-chunks, r=LukasKalbertodt 2020-10-27 08:44:41 +09:00
memchr.rs Refactor memchr to allow optimization 2020-09-27 15:10:48 +02:00
mod.rs Auto merge of #79222 - yoshuawuyts:slice-fill-with, r=m-ou-se 2020-11-21 08:15:16 +00:00
raw.rs use array::from_ref for slices 2020-09-23 21:56:23 +02:00
rotate.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
sort.rs Fix automatic_links warnings 2020-11-05 10:22:08 +01:00