summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
2024-11-25replace placeholder versionBoxy-2/+2
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
2024-09-24Auto merge of #129587 - Voultapher:opt-for-size-variants-of-sort-impls, r=cuv...bors-59/+202
2024-09-24Mark and implement 'make_ascii_uppercase' and 'make_ascii_lowercase' in '[u8]...Gabriel Bjørnager Jensen-4/+14
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-5/+5
2024-09-18[Clippy] Swap `manual_retain` to use diagnostic items instead of pathsGnomedDev-0/+1
2024-09-15also stabilize const_refs_to_cellRalf Jung-1/+1
2024-09-15const_refs_to_cell: dont let mutable references sneak past the interior mutab...Ralf Jung-1/+1
2024-09-12Rollup merge of #130101 - RalfJung:const-cleanup, r=fee1-deadMatthias Krüger-17/+9
2024-09-09Fix slice::first_mut docsJames C. Wise-1/+1
2024-09-08remove const_slice_index annotations, it never had a feature gate anywayRalf Jung-11/+0
2024-09-08add FIXME(const-hack)Ralf Jung-6/+9
2024-09-04Use non-overlapping swap for inner heapsort loopLukas Bergdoll-3/+1
2024-09-04Select tiny sorts for 16-bit platformsLukas Bergdoll-13/+20
2024-09-04Shrink heapsort further by combining sift_down loopsLukas Bergdoll-26/+22
2024-09-04Drop bubble_sortLukas Bergdoll-41/+3
2024-09-03replace placeholder versionBoxy-3/+3
2024-09-02clarify language around non-null ptrs in slice::rawoskgo-8/+8
2024-09-01Rollup merge of #128495 - joboet:more_memcmp, r=scottmcmMatthias Krüger-10/+33
2024-08-29Use simpler branchy swap logic in tiny merge sortLukas Bergdoll-42/+13