You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of rust-lang#79222 - yoshuawuyts:slice-fill-with, r=m-ou-se
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`
0 commit comments