about summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
2025-10-01Change ArrayWindows to use a sliceCameron Steffen-47/+22
2025-09-23Auto merge of #146317 - saethlin:panic=immediate-abort, r=nnethercotebors-6/+6
2025-09-22assert_unsafe_precondition: fix some incorrect check_language_ubRalf Jung-1/+1
2025-09-21Change the cfg to a dashBen Kimock-6/+6
2025-09-21Add panic=immediate-abortBen Kimock-6/+6
2025-09-12Constify Eq, Ord, PartialOrdEvgenii Zheltonozhskii-12/+31
2025-09-10Rollup merge of #144765 - Qelxiros:range-inclusive-last, r=jhprattMatthias Krüger-0/+41
2025-09-08change end to lastJeremy Smart-0/+41
2025-09-06clean up some old const trait impl syntaxNathaniel McCallum-3/+2
2025-08-21Consolidate panicking functions in `slice/index.rs`Karl Meakin-97/+103
2025-08-14Rollup merge of #144515 - scottmcm:ptr_cast_array, r=Mark-SimulacrumGuillaume Gomez-10/+10
2025-08-06tidyBoxy-9/+9
2025-08-06replace version placeholderBoxy-1/+1
2025-08-04Rollup merge of #142205 - paolobarbolini:const_swap_with_slice-impl, r=Mark-S...Stuart Cook-1/+2
2025-07-29Rollup merge of #144575 - xonx4l:patch-6, r=scottmcmStuart Cook-1/+1
2025-07-28fixed typo chunks->as_chunksxonx-1/+1
2025-07-27Remove `[T]::array_chunks(_mut)`Scott McMurray-325/+0
2025-07-26Use `cast_array` in coreScott McMurray-10/+10
2025-07-23Hint that choose_pivot returns index in boundsKornel-10/+10
2025-07-18Rollup merge of #143382 - fee1-dead-contrib:push-trrymlzqmmoz, r=jhprattMatthias Krüger-1/+2
2025-07-17Make slices `[const] PartialEq`Oli Scherer-7/+15
2025-07-15constify `Index` trait and its slice implsOli Scherer-4/+6
2025-07-15constify some methods using `SliceIndex`Oli Scherer-8/+12
2025-07-15constify `SliceIndex` traitOli Scherer-11/+24
2025-07-14Rollup merge of #143875 - fee1-dead-contrib:push-zvqrmzrprpzt, r=compiler-errorsJakub Beránek-2/+2
2025-07-13update issue number for `const_trait_impl`Deadbeef-2/+2
2025-07-13Rollup merge of #143554 - okaneco:const_slice_rotate, r=Amanieu,tgross35Matthias Krüger-9/+21
2025-07-11slice: Mark `rotate_left`, `rotate_right` unstably constokaneco-9/+21
2025-07-10Rollup merge of #143265 - scottmcm:mention-as-chunks, r=ibraheemdevTrevor Gross-0/+32
2025-07-07Make `Default` const and add some `const Default` implsEsteban Küber-2/+4
2025-07-05use `div_ceil` instead of manual logicFolkert de Vries-2/+2
2025-07-05use `is_multiple_of` instead of manual moduloFolkert de Vries-5/+5
2025-07-03stabilize `const_slice_reverse`Deadbeef-1/+2
2025-07-01Update version placeholdersJosh Stone-2/+2
2025-06-30Mention as_chunks in the docs for chunksScott McMurray-0/+32
2025-06-21Rollup merge of #142787 - samueltardieu:diag-items-for-clippy, r=Manishearth,...Matthias Krüger-0/+1
2025-06-20Rollup merge of #142331 - deven:trim_prefix_suffix, r=AmanieuTrevor Gross-0/+83
2025-06-20Add diagnostic items for ClippySamuel Tardieu-0/+1
2025-06-15Get rid of `EscapeDebugInner`.Markus Reiter-1/+1
2025-06-13Auto merge of #142432 - matthiaskrgr:rollup-ziuls9y, r=matthiaskrgrbors-0/+7
2025-06-12Rollup merge of #138016 - nwoods-cimpress:slice_chunkby_clone, r=dtolnayMatthias Krüger-0/+7
2025-06-12chore(doctest): Remove redundant blank linesShun Sakai-1/+0
2025-06-11Add trim_prefix and trim_suffix for slice and str.Deven T. Corzine-0/+83
2025-06-09Mark `core::slice::memchr` as `#[doc(hidden)]`Alona Enraght-Moony-0/+1
2025-06-08Mark `slice::swap_with_slice` unstably constPaolo Barbolini-1/+2
2025-06-05Stabilize `const_eq_ignore_ascii_case`Paolo Barbolini-1/+1
2025-06-02Remove bootstrap cfgs from library/Josh Stone-53/+4
2025-06-01Rollup merge of #141224 - RalfJung:no-objects, r=traviscrossGuillaume Gomez-10/+10
2025-05-31terminology: allocated object → allocationRalf Jung-10/+10
2025-05-30`slice.get(i)` should use a slice projection in MIR, like `slice[i]` doesScott McMurray-7/+49