summary refs log tree commit diff
path: root/library/core/src/slice/mod.rs
AgeCommit message (Expand)AuthorLines
2024-09-02replace placeholder versionBoxy-3/+3
2024-08-25Tweak some attributes to improve panic_immediate_abortBen Kimock-2/+2
2024-08-10Rollup merge of #128273 - Voultapher:improve-ord-violation-help, r=workingjub...Guillaume Gomez-44/+54
2024-08-09Fix linkchecker issueLukas Bergdoll-1/+1
2024-08-05Correct the const stabilization of `<[T]>::last_chunk`Mike Hommey-1/+1
2024-08-03Apply review comments to PartialOrd sectionLukas Bergdoll-7/+7
2024-08-01Hide internal sort moduleLukas Bergdoll-0/+1
2024-07-31Apply review commentsLukas Bergdoll-37/+43
2024-07-30Rewrite binary search implementationAmanieu d'Antras-31/+44
2024-07-29Rollup merge of #128307 - ojeda:unescaped_backticks, r=GuillaumeGomezMatthias Krüger-2/+2
2024-07-29Remove spurious backticks detected by `rustdoc::unescaped_backticks`Miguel Ojeda-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-38/+21
2024-07-28Rollup merge of #127765 - bitfield:fix_stdlib_doc_nits, r=dtolnayGuillaume Gomez-21/+25
2024-07-28Rollup merge of #128279 - slanterns:is_sorted, r=dtolnayMatthias Krüger-8/+3
2024-07-28stabilize `is_sorted`Slanterns-8/+3
2024-07-27Rollup merge of #125897 - RalfJung:from-ref, r=AmanieuTrevor Gross-2/+2
2024-07-27Improve panic sections for sort*, sort_unstable* and select_nth_unstable*Lukas Bergdoll-12/+15
2024-07-26Fix doc nitsJohn Arundel-21/+25
2024-07-24Rollup merge of #126770 - wr7:master, r=AmanieuMatthias Krüger-0/+115
2024-07-23Add elem_offset and related methodswr7-0/+115
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-06-06less garbage, more examplesRalf Jung-2/+2
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