about summary refs log tree commit diff
path: root/library/core/src/slice/mod.rs
AgeCommit message (Expand)AuthorLines
2025-08-04replace version placeholderBoxy-1/+1
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-76/+0
2025-07-18Rollup merge of #143382 - fee1-dead-contrib:push-trrymlzqmmoz, r=jhprattMatthias Krüger-1/+2
2025-07-15constify some methods using `SliceIndex`Oli Scherer-8/+12
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-2/+4
2025-07-11slice: Mark `rotate_left`, `rotate_right` unstably constokaneco-2/+4
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 `is_multiple_of` instead of manual moduloFolkert de Vries-4/+4
2025-07-03stabilize `const_slice_reverse`Deadbeef-1/+2
2025-06-30Mention as_chunks in the docs for chunksScott McMurray-0/+32
2025-06-20Rollup merge of #142331 - deven:trim_prefix_suffix, r=AmanieuTrevor Gross-0/+83
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-05-27Auto merge of #129658 - saethlin:spare-a-crumb, r=jhprattbors-0/+8
2025-05-21Rollup merge of #140526 - Natr1x:sort-direction-documentation, r=dtolnayMatthias Krüger-5/+5
2025-05-21Add some track_caller info to precondition panicsBen Kimock-0/+8
2025-05-18[std] fix the presentation of `split_off_mut` and `split_off` documentationxizheyin-2/+2
2025-05-12update cfg(bootstrap)Pietro Albini-6/+6
2025-05-12update version placeholdersPietro Albini-12/+12
2025-04-30docs: Specify that common sort functions sort in an ascending directionNatrix-5/+5
2025-04-28Rollup merge of #139656 - scottmcm:stabilize-slice-as-chunks, r=dtolnayChris Denton-21/+106
2025-04-28Auto merge of #123239 - Urgau:dangerous_implicit_autorefs, r=jdonszelmann,tra...bors-0/+6
2025-04-20Add `#[rustc_no_implicit_autorefs]` and apply it to std methodsUrgau-0/+6
2025-04-19docs: fix typo change from inconstants to invariantsOnè-1/+1
2025-04-19Improve rustdocs on slice_as_chunks methodsScott McMurray-8/+94
2025-04-13Rollup merge of #139726 - Amanieu:select_unpredictable_hint, r=dtolnayChris Denton-1/+1
2025-04-13Move `select_unpredictable` to the `hint` moduleAmanieu d'Antras-1/+1
2025-04-10Stabilize `slice_as_chunks` library featureScott McMurray-13/+12
2025-04-10indirect-const-stabilize the `exact_div` intrinsicScott McMurray-6/+0
2025-04-09replace version placeholderBoxy-9/+9
2025-04-06Rollup merge of #139072 - nickkuk:align_to_uninit_mut, r=Mark-SimulacrumGuillaume Gomez-2/+51
2025-04-03Auto merge of #139301 - matthiaskrgr:rollup-sa6ali8, r=matthiaskrgrbors-60/+34
2025-04-02Make slice iterator constructors unstably constDaniel Bloom-16/+32
2025-03-30slice: Remove some uses of unsafe in first/last chunk methodsokaneco-60/+34
2025-03-28Add `slice::align_to_uninit_mut`Nikolai Kuklin-2/+51
2025-03-19Rollup merge of #138540 - okaneco:const_split_off_first_last, r=m-ou-seMatthias Krüger-8/+18
2025-03-16Rollup merge of #138082 - thaliaarchi:slice-cfg-not-test, r=thomcc许杰友 Jieyou Xu (Joe)-4/+1
2025-03-15core/slice: Mark some `split_off` variants unstably constokaneco-8/+18
2025-03-07Rollup merge of #138034 - thaliaarchi:use-prelude-size-of, r=tgross35Matthias Krüger-13/+13
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-13/+13
2025-03-06Remove #[cfg(not(test))] gates in coreThalia Archibald-4/+1
2025-03-06Stabilize `const_copy_from_slice` featureokaneco-2/+1
2025-02-28Stabilize [T]::split_off... methodsTaylor Cramer-27/+7
2025-02-24Rollup merge of #137516 - RalfJung:rustc_const_unstable-cleanup, r=AmanieuTrevor Gross-1/+1
2025-02-24remove some unnecessary rustc_const_unstableRalf Jung-1/+1