about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-08-26 09:51:43 +0900
committerGitHub <noreply@github.com>2022-08-26 09:51:43 +0900
commite193f4697f11aed89329177d04c84bcd9ce1b424 (patch)
treeb9a0db39817ad9cee968558357a92e4114f5f16a /compiler/rustc_codegen_gcc
parent55562c7ddc0af4799cccae0c7c42328e992a533c (diff)
parentbc3d7199e1dcb650ef17c7a5370665641819545d (diff)
downloadrust-e193f4697f11aed89329177d04c84bcd9ce1b424.tar.gz
rust-e193f4697f11aed89329177d04c84bcd9ce1b424.zip
Rollup merge of #100076 - tspiteri:const_slice_split_at, r=oli-obk
make slice::{split_at,split_at_unchecked} const functions

Now that `slice::from_raw_parts` is const in stable 1.64, it makes sense to have `split_at` const as well, otherwise unsafe code is required to achieve a const equivalent.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions