about summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
2024-12-11Rollup merge of #133598 - ChayimFriedman2:get-many-mut-detailed-err, r=scottmcmMatthias Krüger-27/+31
2024-12-02Rollup merge of #133743 - bjoernager:slice-as-array, r=joboetGuillaume Gomez-1/+1
2024-12-02Auto merge of #133728 - jhpratt:rollup-k1i60pg, r=jhprattbors-2/+0
2024-12-02Fix docs for '<[T]>::as_array';Gabriel Bjørnager Jensen-1/+1
2024-12-01Rollup merge of #133672 - RalfJung:const-stability-cleanup, r=jhprattJacob Pratt-2/+0
2024-12-01Rollup merge of #131416 - okaneco:const_copy, r=RalfJungJacob Pratt-6/+10
2024-12-01Mark `slice::copy_from_slice` unstably constokaneco-6/+10
2024-11-30get rid of a bunch of unnecessary rustc_const_unstableRalf Jung-2/+0
2024-11-30move slice::swap_unchecked constness to slice_swap_unchecked feature gateRalf Jung-1/+1
2024-11-29Auto merge of #133533 - BoxyUwU:bump-boostrap, r=jieyouxu,Mark-Simulacrumbors-8/+4
2024-11-29Rollup merge of #133530 - timvisee:master, r=jhprattMatthias Krüger-16/+16
2024-11-28Change `GetManyMutError` to match T-libs-api decisionChayim Refael Friedman-27/+31
2024-11-28Also use zero when referencing to capacity or lengthtimvisee-16/+16
2024-11-28Rollup merge of #133512 - bjoernager:slice-as-array, r=AmanieuGuillaume Gomez-0/+38
2024-11-27update cfgsBoxy-6/+2
2024-11-27replace placeholder versionBoxy-2/+2
2024-11-26Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '...Gabriel Bjørnager Jensen-0/+38
2024-11-26Rollup merge of #133136 - ChayimFriedman2:get-many-mut, r=AmanieuMichael Goulet-18/+180
2024-11-25Support ranges in `<[T]>::get_many_mut()`Chayim Refael Friedman-18/+180
2024-11-20Rollup merge of #132732 - gavincrawford:as_ptr_attribute, r=UrgauJacob Pratt-0/+2
2024-11-16clean up const stability around UB checksRalf Jung-2/+2
2024-11-13Auto merge of #132883 - LaihoE:vectorized_is_sorted, r=thomccbors-1/+17
2024-11-11Tag relevant functions with #[rustc_as_ptr] attributegavincrawford-0/+2
2024-11-11vectorize slice::is_sortedLaiho-1/+17
2024-11-10elem_offset / subslice_range: use addr() instead of 'as usize'Ralf Jung-4/+4
2024-11-05Add new unstable feature `const_eq_ignore_ascii_case`okaneco-2/+22
2024-11-05add const_eval_select macro to reduce redundancyRalf Jung-128/+124
2024-11-03Rollup merge of #132423 - RalfJung:const-eval-align-offset, r=dtolnayJubilee-117/+131
2024-11-03Auto merge of #132479 - compiler-errors:fx-feat-yeet, r=fee1-deadbors-1/+1
2024-11-03Rename the FIXMEs, remove a few that dont matter anymoreMichael Goulet-1/+1
2024-11-03remove const-support for align_offsetRalf Jung-117/+131
2024-11-03add const_panic macro to make it easier to fall back to non-formatting panic ...Ralf Jung-49/+19
2024-11-01remove some unnecessary rustc_allow_const_fn_unstableRalf Jung-2/+0
2024-10-25Re-do recursive const stability checksRalf Jung-5/+15
2024-10-23Rollup merge of #130991 - LaihoE:vectorized_slice_contains, r=NoratriebLeón Orell Valerian Liehr-0/+26
2024-10-23vectorized SliceContainsLaiho-0/+26
2024-10-15update bootstrap configsJosh Stone-16/+0
2024-10-15replace placeholder versionJosh Stone-13/+13
2024-10-14Stabilise 'const_make_ascii'Gabriel Bjørnager Jensen-2/+4
2024-10-14Rollup merge of #131384 - saethlin:precondition-tests, r=ibraheemdevMatthias Krüger-2/+2
2024-10-09Allow zero-size reads/writes on null pointersBen Kimock-2/+2
2024-10-09stabilize `{slice,array}::from_mut`ultrabear-1/+2
2024-10-05Stabilize `const_slice_split_at_mut` and `const_slice_first_last_chunk`onestacked-7/+14
2024-10-04Rollup merge of #130403 - eduardosm:stabilize-const_slice_from_raw_parts_mut,...Jubilee-1/+2
2024-10-04Rollup merge of #131177 - workingjubilee:stabilize-const-mut-referees, r=tgro...Jubilee-4/+8
2024-10-02library: Stabilize `const_slice_first_last`Jubilee Young-4/+8
2024-10-01Stabilize `const_slice_from_raw_parts_mut`Eduardo Sánchez Muñoz-1/+2
2024-09-28make ptr metadata functions callable from stable const fnRalf Jung-1/+0
2024-09-25Use `&raw` in the standard libraryJosh Stone-6/+6
2024-09-25fix some cfg logic around optimize_for_size and 16-bit targetsRalf Jung-11/+11