about summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
2024-05-06Implement `as_chunks` with `split_at_unchecked`Scott McMurray-4/+8
2024-05-04Rollup merge of #124699 - scottmcm:split_at_unchecked_should_use_unchecked, r...Matthias Krüger-3/+8
2024-05-04Use `unchecked_sub` in `split_at`Scott McMurray-3/+8
2024-05-03Rollup merge of #124678 - UserIsntAvailable:feat/stabilize-split-at-checked, ...Michael Goulet-8/+4
2024-05-03feat: stabilize `split_at_checked`UserIsntAvailable-8/+4
2024-05-01Replace version placeholders for 1.79Mark Rousskov-2/+2
2024-04-26Add missing .into_iter()Matthias Geier-1/+1
2024-04-26Extend the example code and assert the resultMatthias Geier-3/+10
2024-04-26Add "safety" commentMatthias Geier-0/+5
2024-04-25Convert some iter macros to normal functionsScott McMurray-21/+20
2024-04-02DOC: Add FFI example for slice::from_raw_parts()Matthias Geier-0/+21
2024-04-02Auto merge of #122945 - andy-k:sorted-vec-example, r=jhprattbors-3/+5
2024-03-31doc: describe panic conditions for SliceIndex implementationsJani Mustonen-0/+11
2024-03-24clarify equivalency of binary_search and partition_pointAndy Kurnia-1/+3
2024-03-23Auto merge of #122629 - RalfJung:assert-unsafe-precondition, r=saethlinbors-11/+9
2024-03-23move assert_unsafe_preconditions to its own fileRalf Jung-11/+9
2024-03-23Rollup merge of #120577 - wutchzone:slice_split_at_unchecked, r=m-ou-seMatthias Krüger-6/+2
2024-03-23improve example on inserting to a sorted vector to avoid shifting equal elementsAndy Kurnia-2/+2
2024-03-20step cfgsMark Rousskov-19/+3
2024-03-11Rollup merge of #121148 - clarfonthey:try-range, r=dtolnayJacob Pratt-5/+56
2024-03-10docs: Correct ptr/ref verbiage in SliceIndex docs.matt rice-4/+4
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-35/+60
2024-03-08Rollup merge of #121201 - RalfJung:align_offset_contract, r=cuviperMatthias Krüger-10/+4
2024-03-08align_offset, align_to: no longer allow implementations to spuriously fail to...Ralf Jung-10/+4
2024-03-07Rust is a proper name: rust → RustRalf Jung-1/+1
2024-03-06Refer to "slice" instead of "vector" in Ord and PartialOrd trait impl of sliceKonrad Höffner-2/+2
2024-03-02const_eval_select: make it safe but be careful with what we expose on stable ...Ralf Jung-1/+6
2024-02-26Clarify behavior of slice prefix/suffix operations in case of equalityOndřej Hošek-4/+10
2024-02-24Rollup merge of #121343 - Takashiidobe:takashi/examples-for-slice, r=Mark-Sim...Matthias Krüger-1/+10
2024-02-21rename ptr::invalid -> ptr::without_provenanceRalf Jung-5/+7
2024-02-20Add examples for some methods on slicesTakashiidobe-1/+10
2024-02-19Add more inline(always) to fix opt-level=z test on wasm32Ben Kimock-2/+2
2024-02-19Convert debug_assert_nounwind to intrinsics::debug_assertionsBen Kimock-13/+17
2024-02-16Add examples to document the return type of `select_nth_unstable`, `select_nt...Takashiidobe-6/+21
2024-02-15Add slice::try_rangeltdk-5/+56
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-3/+3
2024-02-15Use generic `NonZero` internally.Markus Reiter-7/+7
2024-02-10Stabilize slice_split_at_uncheckedDaniel Sedlak-6/+2
2024-02-09Auto merge of #120676 - Mark-Simulacrum:bootstrap-bump, r=clubby789bors-30/+27
2024-02-08Reduce use of NonNull::new_unchecked in library/Ben Kimock-7/+8
2024-02-08Rewrite assert_unsafe_precondition around the new intrinsicBen Kimock-4/+17
2024-02-08Step all bootstrap cfgs forwardMark Rousskov-4/+1
2024-02-08Bump version placeholdersMark Rousskov-27/+27
2024-02-05Rollup merge of #120384 - wackbyte:array-equality-generics, r=Mark-SimulacrumMatthias Krüger-4/+4
2024-02-05Rollup merge of #119481 - romanows:fix-doc-select-nth-unstable, r=Mark-Simula...Matthias Krüger-7/+7
2024-01-26Use `<T, U>` for array/slice equality `impl`swackbyte-4/+4
2024-01-23Auto merge of #119892 - joboet:libs_use_assert_unchecked, r=Nilstrieb,cuviperbors-6/+7
2024-01-22Rollup merge of #118578 - mina86:c, r=dtolnayMatthias Krüger-10/+105
2024-01-21reviewMichal Nazarewicz-176/+18
2024-01-21Rollup merge of #118811 - EbbDrop:is-sorted-by-bool, r=Mark-SimulacrumNadrieril-8/+20