rust/library/core/src/slice
Yuki Okushi e193f4697f
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.
2022-08-26 09:51:43 +09:00
..
iter Warn on unused doc(hidden) on trait impl items 2022-05-08 22:53:14 +02:00
ascii.rs Make some usize-typed masks definition agnostic to the size of usize 2022-04-15 17:04:59 +02:00
cmp.rs make memcmp return a value of c_int_width instead of i32 2022-04-02 17:21:08 -07:00
index.rs Fix a mistake in SliceIndex's documentation 2022-05-24 13:22:41 -04:00
iter.rs Rollup merge of #100030 - WaffleLapkin:nice_pointer_sis, r=scottmcm 2022-08-12 20:39:10 +05:30
memchr.rs Make some usize-typed masks definition agnostic to the size of usize 2022-04-15 17:04:59 +02:00
mod.rs Rollup merge of #100076 - tspiteri:const_slice_split_at, r=oli-obk 2022-08-26 09:51:43 +09:00
raw.rs Partially stabilize const_slice_from_raw_parts 2022-07-09 23:20:02 +02:00
rotate.rs Fix a bunch of typos 2021-12-14 16:40:43 +01:00
sort.rs Replace most uses of pointer::offset with add and sub 2022-08-21 02:21:41 +04:00
specialize.rs Remove size_of == 1 case from fill specialization. 2021-08-09 19:25:28 +02:00