summary refs log tree commit diff
path: root/library/core/src/slice/mod.rs
AgeCommit message (Expand)AuthorLines
2024-06-10replace version placeholderPietro Albini-5/+5
2024-05-26Stabilize `slice_flatten`Cyborus-6/+3
2024-05-15Rename `flatten(_mut)` → `as_flattened(_mut)`Scott McMurray-8/+8
2024-05-09Auto merge of #124793 - scottmcm:simplify-as-chunks, r=Nilstriebbors-4/+8
2024-05-07Correct the const stabilization of `last_chunk` for slicesTrevor Gross-1/+1
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-02Auto merge of #122945 - andy-k:sorted-vec-example, r=jhprattbors-3/+5
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-1/+1
2024-03-23move assert_unsafe_preconditions to its own fileRalf Jung-1/+1
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-11Rollup merge of #121148 - clarfonthey:try-range, r=dtolnayJacob Pratt-1/+1
2024-03-08Distinguish between library and lang UB in assert_unsafe_preconditionBen Kimock-16/+25
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-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-20Add examples for some methods on slicesTakashiidobe-1/+10
2024-02-19Convert debug_assert_nounwind to intrinsics::debug_assertionsBen Kimock-5/+5
2024-02-16Add examples to document the return type of `select_nth_unstable`, `select_nt...Takashiidobe-6/+21
2024-02-15Add slice::try_rangeltdk-1/+1
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-1/+1
2024-02-15Use generic `NonZero` internally.Markus Reiter-2/+2
2024-02-10Stabilize slice_split_at_uncheckedDaniel Sedlak-6/+2
2024-02-08Step all bootstrap cfgs forwardMark Rousskov-4/+1
2024-02-08Bump version placeholdersMark Rousskov-15/+15
2024-02-05Rollup merge of #119481 - romanows:fix-doc-select-nth-unstable, r=Mark-Simula...Matthias Krüger-7/+7
2023-12-31Clarify ambiguity in select_nth_unstable docsBrian Romanowski-7/+7
2023-12-10remove redundant importssurechen-6/+1
2023-12-04Improve example in `slice::windows()` docGurinder Singh-5/+5
2023-12-03move calling miri_promise_symbolic_alignment to a shared helperRalf Jung-23/+8
2023-12-03miri: support 'promising' alignment for symbolic alignment checkRalf Jung-0/+27
2023-11-26Fix library testsCaleb Zulawski-2/+1
2023-11-25Convert many `assert_unsafe_precondition` to `debug_assert_nounwind`Gary Guo-37/+30
2023-11-24Auto merge of #117722 - okaneco:binarysearch, r=thomccbors-9/+8
2023-11-17Improve slice_group_by doc wordingNiklas Fiekas-6/+6
2023-11-08Refactor `binary_search_by` to use conditional movesokaneco-9/+8
2023-11-07Fix addition formattingscottmcm-2/+2
2023-11-07Stabilize `slice_group_by`Niklas Fiekas-20/+12
2024-01-23Auto merge of #119892 - joboet:libs_use_assert_unchecked, r=Nilstrieb,cuviperbors-2/+3
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-6/+19