summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
2023-01-20Rollup merge of #104672 - Voultapher:unify-sort-modules, r=thomccMichael Goulet-1/+521
2023-01-18Rollup merge of #106997 - Sp00ph:introselect, r=scottmcmMatthias Krüger-0/+22
2023-01-17Rollup merge of #106889 - scottmcm:windows-mut, r=cuviperMatthias Krüger-0/+16
2023-01-17Add heapsort fallback in `select_nth_unstable`Markus Everling-0/+22
2023-01-15replace manual ptr arithmetic with ptr_subThe 8472-23/+7
2023-01-14Mention the lack of `windows_mut` in `windows`Scott McMurray-0/+16
2023-01-14Fix some missed double spaces.André Vennberg-1/+1
2023-01-14Remove various double spaces in source comments.André Vennberg-8/+8
2022-12-30Replace libstd, libcore, liballoc in docs.jonathanCogan-1/+1
2022-12-22Rollup merge of #105584 - raffimolero:patch-1, r=JohnTitorYuki Okushi-9/+9
2022-12-17Another `as_chunks` exampleScott McMurray-0/+11
2022-12-15doc: Fix a few small issuesHannes Körber-1/+1
2022-12-12add assert messages if chunks/windows are length 0raffimolero-9/+9
2022-12-09Auto merge of #105262 - eduardosm:more-inline-always, r=thomccbors-2/+2
2022-12-07Make some trivial functions `#[inline(always)]`Eduardo Sánchez Muñoz-2/+2
2022-12-05attempt to clarify align_to docsRalf Jung-8/+10
2022-12-02Auto merge of #104999 - saethlin:immediate-abort-inlining, r=thomccbors-10/+11
2022-11-29Adjust inlining attributes around panic_immediate_abortBen Kimock-10/+11
2022-11-22Rollup merge of #83608 - Kimundi:index_many, r=Mark-SimulacrumManish Goregaokar-0/+136
2022-11-21Document all unsafe blocksLukas Bergdoll-1/+20
2022-11-21Remove debug unusedLukas Bergdoll-12/+13
2022-11-20Unify stable and unstable sort implementations in same core moduleLukas Bergdoll-1/+501
2022-11-20add examples to chunks remainder methods. Also fixed some links to rchunk rem...Felix S. Klock II-2/+30
2022-11-20Add get_many_mut methods to sliceMarvin Löbel-0/+136
2022-11-18Rollup merge of #102977 - lukas-code:is-sorted-hrtb, r=m-ou-seManish Goregaokar-4/+4
2022-11-09Rollup merge of #104111 - yancyribbens:add-mutable-to-the-description-for-as-...Dylan DPC-1/+2
2022-11-07rustdoc: Add mutable to the descriptionyancy-1/+2
2022-11-07rustdoc: Add mutable to the descriptionyancy-2/+2
2022-10-26Print the precondition we violated, and visible through output captureBen Kimock-18/+50
2022-10-26Rollup merge of #103287 - saethlin:faster-len-check, r=thomccDylan DPC-5/+5
2022-10-24Auto merge of #100848 - xfix:use-metadata-for-slice-len, r=thomccbors-9/+2
2022-10-20Use a faster allocation size check in slice::from_raw_partsBen Kimock-5/+5
2022-10-18Rollup merge of #102507 - scottmcm:more-binary-search-docs, r=m-ou-seMatthias Krüger-0/+32
2022-10-15More slice::partition_point examplesScott McMurray-0/+32
2022-10-12remove HRTB from `[T]::is_sorted_by{,_key}`Lukas Markeffsky-4/+4
2022-10-10Auto merge of #96711 - emilio:inline-slice-clone, r=nikicbors-0/+5
2022-10-08Rollup merge of #99880 - compiler-errors:escape-ascii-is-not-exact-size-itera...Matthias Krüger-2/+0
2022-10-03Rollup merge of #102607 - WaffleLapkin:docky_docky_slice_from_ptr_range, r=jo...Matthias Krüger-1/+23
2022-10-03Sync docs of `slice::{from_ptr_range, from_ptr_range_mut}`Maybe Waffle-1/+15
2022-10-03Document when `slice::from_ptr_range[_mut]` panicMaybe Waffle-0/+8
2022-10-02Auto merge of #102535 - scottmcm:optimize-split-at-partition-point, r=thomccbors-3/+12
2022-09-30Tell LLVM that `partition_point` returns a valid fencepostScott McMurray-3/+12
2022-09-26rustdoc: Update doc comment for splitn_mut to include mutable in the descriptionyancy-1/+1
2022-09-25Rollup merge of #101800 - chriss0612:feat/const_split_at_mut, r=fee1-deadfee1-dead-2/+4
2022-09-25Rollup merge of #98111 - eggyal:issue-97982, r=GuillaumeGomezfee1-dead-11/+14
2022-09-25Auto merge of #102169 - scottmcm:constify-some-conditions, r=thomccbors-25/+19
2022-09-24Rollup merge of #100823 - WaffleLapkin:less_offsets, r=scottmcmMatthias Krüger-2/+2
2022-09-22rustfmtScott McMurray-10/+4
2022-09-22Make ZST checks in core/alloc more readableScott McMurray-17/+17
2022-09-22Auto merge of #100982 - fee1-dead-contrib:const-impl-requires-const-trait, r=...bors-0/+1