summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
2025-03-31replace version placeholderBoxy-9/+9
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
2025-02-13Auto merge of #134633 - GrigorenkoPV:get_disjoint_mut, r=cuviperbors-59/+56
2025-02-12`transmute` should also assume non-null pointersScott McMurray-1/+1
2025-02-07Use more explicit and reliable ptr select in sort implsLukas Bergdoll-18/+13
2025-02-04Add OneSidedRangeBound to eliminate panic in `split_point_of`Taylor Cramer-9/+7
2025-02-04Rename slice::take methods to split_offTaylor Cramer-25/+28
2025-02-01Rollup merge of #136163 - uellenberg:driftsort-off-by-one, r=Mark-SimulacrumMatthias Krüger-8/+22
2025-01-30Rollup merge of #135847 - edwloef:slice_ptr_rotate_opt, r=scottmcmStuart Cook-152/+182
2025-01-29add inline attribute and codegen testedwloef-0/+4
2025-01-29split slice::ptr_rotate into three separate algorithms, to hopefully help inl...edwloef-174/+195
2025-01-28Fix off-by-one error causing driftsort to crashuellenberg-8/+22
2025-01-28Stabilize `get_many_mut` as `get_disjoint_mut`Pavel Grigorenko-59/+56
2025-01-27Rollup merge of #135773 - hkBst:patch-10, r=tgross35Guillaume Gomez-4/+9
2025-01-27Clarify WindowsMut (Lending)IteratorMarijn Schouten-4/+9
2025-01-21optimize slice::ptr_rotate for compile-time-constant small rotatesedwloef-161/+166
2025-01-20core: add `#![warn(unreachable_pub)]`Urgau-1/+1
2025-01-19Auto merge of #134976 - mgsloan:improve-select-nth-unstable-docs, r=ibraheemdevbors-42/+49
2025-01-18Rewrap following accepting review suggestions from @ibraheemdevMichael Sloan-8/+18
2025-01-18Update library/core/src/slice/mod.rsMichael Sloan-2/+1
2025-01-18Update library/core/src/slice/mod.rsMichael Sloan-3/+3
2025-01-18Update library/core/src/slice/mod.rsMichael Sloan-2/+2
2025-01-18Update library/core/src/slice/mod.rsMichael Sloan-2/+2