summary refs log tree commit diff
path: root/library/core/src/slice/mod.rs
AgeCommit message (Expand)AuthorLines
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
2025-02-24Rollup merge of #137484 - chenyukang:yukang-fix-sort-doc, r=NoratriebJacob Pratt-15/+33
2025-02-23Fix documentation for unstable sortyukang-15/+33
2025-02-23Auto merge of #137237 - cuviper:stage0, r=Mark-Simulacrumbors-4/+4
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-13Auto merge of #134633 - GrigorenkoPV:get_disjoint_mut, r=cuviperbors-59/+56
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-01-28Stabilize `get_many_mut` as `get_disjoint_mut`Pavel Grigorenko-59/+56
2025-01-27Clarify WindowsMut (Lending)IteratorMarijn Schouten-4/+9
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