about summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
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-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
2022-09-04use `pointer::add` in memchr implMaybe Waffle-2/+2
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-12/+27
2022-08-31Correct typoDezhi Wu-1/+1
2022-08-31Fix a bunch of typoDezhi Wu-4/+4
2022-08-31Rollup merge of #101159 - tspiteri:track-const-slice-split_at, r=Mark-SimulacrumYuki Okushi-1/+1
2022-08-29add tracking issue number to const_slice_split_at_not_mutTrevor Spiteri-1/+1
2022-08-29Rollup merge of #100819 - WaffleLapkin:use_ptr_byte_methods, r=scottmcmDylan DPC-1/+1
2022-08-26Rollup merge of #100076 - tspiteri:const_slice_split_at, r=oli-obkYuki Okushi-4/+13
2022-08-25reviewTrevor Spiteri-1/+5
2022-08-23Make use of `[wrapping_]byte_{add,sub}`Maybe Waffle-1/+1
2022-08-21Use ptr::metadata in <[T]>::len implementationKonrad Borowski-9/+2
2022-08-21Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcmMatthias Krüger-19/+19
2022-08-21Replace most uses of `pointer::offset` with `add` and `sub`Maybe Waffle-19/+19
2022-08-19Tracking issue for const_reverseltdk-1/+1