about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/attributes.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-21 08:15:16 +0000
committerbors <bors@rust-lang.org>2020-11-21 08:15:16 +0000
commit29a74e62857bc8c51723402dee5873ef0fe2cd83 (patch)
tree58867f7cbb95a94e036cd862c946a77b2a981022 /compiler/rustc_codegen_llvm/src/attributes.rs
parent502c477b3417f18e4e45b4e6e37da9965a033051 (diff)
parenta64d0d4774db30bd37ec2ede87e966dcdd33dfc2 (diff)
downloadrust-29a74e62857bc8c51723402dee5873ef0fe2cd83.tar.gz
rust-29a74e62857bc8c51723402dee5873ef0fe2cd83.zip
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`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
0 files changed, 0 insertions, 0 deletions