]> git.lizzy.rs Git - rust.git/commit - src/tools/rustfmt
Rollup merge of #79213 - yoshuawuyts:stabilize-slice-fill, r=m-ou-se
authorDylan DPC <dylan.dpc@gmail.com>
Fri, 25 Dec 2020 02:39:31 +0000 (03:39 +0100)
committerGitHub <noreply@github.com>
Fri, 25 Dec 2020 02:39:31 +0000 (03:39 +0100)
commit21d36e0dafb49b6acd0975205042bc424b94fe26
treee460bac6c86a6fd2c61681b27316454508aff21c
parent2c308b9a2a9b9d531cafa3f11cb1000ee5362e63
parentc2281cc1899c79823aab72e5a987764c5ae4dd49
Rollup merge of #79213 - yoshuawuyts:stabilize-slice-fill, r=m-ou-se

Stabilize `core::slice::fill`

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

Stabilizes the `core::slice::fill` API in Rust 1.50, adding a `memset` doc alias so people coming from C/C++ looking for this operation can find it in the docs. This API hasn't seen any changes since we changed the signature in https://github.com/rust-lang/rust/pull/71165/, and it seems like the right time to propose stabilization. Thanks!

r? `@m-ou-se`