summary refs log tree commit diff
path: root/library/core/src/slice/mod.rs
AgeCommit message (Expand)AuthorLines
2024-08-12Fix linkchecker issueLukas Bergdoll-1/+1
2024-08-12Apply review comments to PartialOrd sectionLukas Bergdoll-7/+7
2024-08-12Hide internal sort moduleLukas Bergdoll-0/+1
2024-08-12Apply review commentsLukas Bergdoll-37/+43
2024-08-12Improve panic sections for sort*, sort_unstable* and select_nth_unstable*Lukas Bergdoll-12/+15
2024-07-06as_simd: fix comment to be in line with 507583a (#121201)Greaka-22/+4
2024-06-20Auto merge of #124032 - Voultapher:a-new-sort, r=thomccbors-84/+109
2024-06-20Fix wrong big O star bracing in the doc commentsLukas Bergdoll-3/+3
2024-06-11replace version placeholderPietro Albini-5/+5
2024-05-26Stabilize `slice_flatten`Cyborus-6/+3
2024-05-16Fix linkchecker doc errorsLukas Bergdoll-9/+9
2024-05-16Replace sort implementationsLukas Bergdoll-84/+109
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