Commit 0793fab
authored
Rollup merge of #81048 - yoshuawuyts:stabilize-core-slice-fill-with, r=m-ou-se
Stabilize `core::slice::fill_with`
_Tracking issue: https://github.com/rust-lang/rust/issues/79221_
This stabilizes the `slice_fill_with` feature for Rust 1.51, following the stabilization of `slice_fill` in 1.50. This was requested by libs team members in #79213.
This PR also adds the "memset" alias for `slice::fill_with`, mirroring the alias set on the `slice::fill` sibling API. This will ensure someone looking for "memset" will find both variants.
r? `@Amanieu`1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2852 | 2852 | | |
2853 | 2853 | | |
2854 | 2854 | | |
2855 | | - | |
2856 | | - | |
2857 | 2855 | | |
2858 | 2856 | | |
2859 | 2857 | | |
2860 | 2858 | | |
2861 | | - | |
| 2859 | + | |
| 2860 | + | |
2862 | 2861 | | |
2863 | 2862 | | |
2864 | 2863 | | |
| |||
0 commit comments