about summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
2025-05-27Auto merge of #129658 - saethlin:spare-a-crumb, r=jhprattbors-0/+17
2025-05-22Rollup merge of #141130 - mejrs:use_self, r=compiler-errorsMatthias Krüger-1/+1
2025-05-22Auto merge of #137198 - tgross35:cfg-match-rename, r=Amanieubors-9/+9
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/+17
2025-05-20Rename `cfg_match!` to `cfg_select!`Trevor Gross-9/+9
2025-05-18[std] fix the presentation of `split_off_mut` and `split_off` documentationxizheyin-2/+2
2025-05-17Switch library rustc_unimplemented to use `Self` and `This`mejrs-1/+1
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-22/+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-13Auto merge of #139746 - ChrisDenton:rollup-eq08b2e, r=ChrisDentonbors-10/+10
2025-04-13Rollup merge of #139726 - Amanieu:select_unpredictable_hint, r=dtolnayChris Denton-10/+10
2025-04-13Auto merge of #138881 - scottmcm:more-chaining-ord, r=Mark-Simulacrumbors-29/+145
2025-04-12Extend the chaining logic to slices tooScott McMurray-29/+145
2025-04-13Move `select_unpredictable` to the `hint` moduleAmanieu d'Antras-10/+10
2025-04-10Stabilize `slice_as_chunks` library featureScott McMurray-14/+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-04Optimize setting the slice to empty in slice IterKornel-9/+9
2025-04-04Optimize slice Windows::nthKornel-7/+9
2025-04-04Optimize slice Iter::nthKornel-10/+8
2025-04-03Auto merge of #139301 - matthiaskrgr:rollup-sa6ali8, r=matthiaskrgrbors-60/+34
2025-04-02Make slice iterator constructors unstably constDaniel Bloom-36/+57
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-26Use cfg_match in coreChristopher Durham-18/+24
2025-03-19Rollup merge of #138540 - okaneco:const_split_off_first_last, r=m-ou-seMatthias Krüger-8/+18
2025-03-16Auto merge of #138537 - yotamofek:pr/lib/multi-char-pattern, r=jhprattbors-1/+1
2025-03-16Rollup merge of #138082 - thaliaarchi:slice-cfg-not-test, r=thomcc许杰友 Jieyou Xu (Joe)-5/+1
2025-03-15core/slice: Mark some `split_off` variants unstably constokaneco-8/+18
2025-03-15Optimize multi-char string patternsYotam Ofek-1/+1
2025-03-10Changing #[stable] tagNathaniel Woods-1/+1
2025-03-10Added `Clone` implementation for `ChunkBy`Nathaniel Woods-0/+7
2025-03-07Rollup merge of #138034 - thaliaarchi:use-prelude-size-of, r=tgross35Matthias Krüger-42/+43
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-42/+43
2025-03-06Remove #[cfg(not(test))] gates in coreThalia Archibald-5/+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
2025-02-24Rollup merge of #137484 - chenyukang:yukang-fix-sort-doc, r=NoratriebJacob Pratt-15/+33
2025-02-23Rollup merge of #137483 - bend-n:😅, r=NoratriebTrevor Gross-7/+7
2025-02-23rename sub_ptr 😅bendn-7/+7