about summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
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-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
2022-09-21Auto merge of #100214 - scottmcm:strict-range, r=thomccbors-0/+75
2022-09-19Optimize `array::IntoIter`Scott McMurray-0/+75
2022-09-18Auto merge of #101816 - raldone01:cleanup/select_nth_unstable, r=Mark-Simulacrumbors-7/+4
2022-09-16Require `#[const_trait]` for `const` `impl`sDeadbeef-0/+1
2022-09-14Cleanup closures.raldone01-7/+4
2022-09-14Add const_slice_split_at_mut Feature gate.onestacked-2/+4
2022-09-14Simplify `const` `memchr`.Markus Reiter-25/+23
2022-09-12Rollup merge of #100291 - WaffleLapkin:cstr_const_methods, r=oli-obkGuillaume Gomez-5/+24
2022-09-12constify `CStr` methodsMaybe Waffle-5/+24
2022-09-06Rollup merge of #101412 - WaffleLapkin:improve_std_ptr_code_leftovers, r=scot...Dylan DPC-13/+13
2022-09-04replace `as usize` casts with `usize::from` in slice sortMaybe Waffle-4/+4
2022-09-04remove some integer casts from slice iterMaybe Waffle-9/+9