]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #81874 - tesuji:spec_slice_fill, r=matthewjasper
authorbors <bors@rust-lang.org>
Sat, 27 Feb 2021 14:54:31 +0000 (14:54 +0000)
committerbors <bors@rust-lang.org>
Sat, 27 Feb 2021 14:54:31 +0000 (14:54 +0000)
commitec7f8d94df0251532c47330abcb7988d77a1f818
tree9a857e74ba61ba0d08636e11271b69f7efde0105
parent8e863eb59a10fb0900d7377524a0dc7bf44b9ae3
parent010e194d6e7e0349518fb2bdb4c4a09a395dfce5
Auto merge of #81874 - tesuji:spec_slice_fill, r=matthewjasper

Specialize slice::fill with Copy type and u8/i8/bool

I don't expect rustperf could measure any perf improvements with this changes
since `slice::fill` is newly added.

Godbolt link for this change: <https://rust.godbolt.org/z/r3fzee>.

r? `@matthewjasper` since this patch added new specialization.
library/core/src/slice/mod.rs