summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
2025-05-09update version placeholdersPietro Albini-12/+12
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-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
2025-02-23Fix documentation for unstable sortyukang-15/+33
2025-02-23Auto merge of #137237 - cuviper:stage0, r=Mark-Simulacrumbors-4/+4
2025-02-20Auto merge of #136771 - scottmcm:poke-slice-iter-next, r=joboetbors-6/+29
2025-02-19Auto merge of #137290 - matthiaskrgr:rollup-a7xdbi4, r=matthiaskrgrbors-18/+13
2025-02-19Rollup merge of #136690 - Voultapher:use-more-explicit-and-reliable-ptr-selec...Matthias Krüger-18/+13
2025-02-19Rollup merge of #134995 - DaniPopes:stable-const_slice_flatten, r=AmanieuMatthias Krüger-2/+2
2025-02-18update version placeholdersJosh Stone-4/+4
2025-02-14Add real safety commentsScott McMurray-1/+14
2025-02-14Go back to `Some` instead of transmuting to it.Scott McMurray-1/+1
2025-02-14Save another BB by using `SubUnchecked` instead of a call to `arith_offset`Scott McMurray-5/+5
2025-02-14Simplify `slice::Iter::next` enough that it inlinesScott McMurray-7/+17
2025-02-14Auto merge of #136735 - scottmcm:transmute-nonnull, r=oli-obkbors-1/+1