summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
2022-10-08EscapeAscii is not an ExactSizeIteratorMichael Goulet-2/+0
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-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-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
2022-08-17Make slice::reverse constltdk-5/+8
2022-08-12Adjust cfgsMark Rousskov-2/+0
2022-08-12Rollup merge of #100030 - WaffleLapkin:nice_pointer_sis, r=scottmcmDylan DPC-2/+2
2022-08-05cleanup code w/ pointers in std a littleMaybe Waffle-2/+2
2022-08-02make slice::{split_at,split_at_unchecked} const functionsTrevor Spiteri-4/+9
2022-08-01Add back Send and Sync impls on ChunksMut iteratorsBen Kimock-0/+24
2022-07-27Rollup merge of #94247 - saethlin:chunksmut-aliasing, r=the8472Guillaume Gomez-72/+122
2022-07-26Clarify safety commentsBen Kimock-59/+47
2022-07-26Explain how *mut [T] helps, and how we rely on the check in split_at_mutBen Kimock-20/+55
2022-07-23Auto merge of #93397 - joshtriplett:sort-floats, r=Amanieubors-0/+60
2022-07-22Auto merge of #99491 - workingjubilee:sync-psimd, r=workingjubileebors-0/+1
2022-07-20Introduce core::simd trait imports in testsJubilee Young-0/+1
2022-07-18Auto merge of #99223 - saethlin:panicless-split-mut, r=Mark-Simulacrumbors-10/+9
2022-07-17Fix for `rchunks_exact` docTethys Svensson-1/+1
2022-07-16Rearrange slice::split_mut to remove bounds checkBen Kimock-10/+9
2022-07-09Partially stabilize const_slice_from_raw_partsKonrad Borowski-2/+2
2022-07-03Fix slice::ChunksMut aliasingBen Kimock-72/+99
2022-06-20Add `[f32]::sort_floats` and `[f64]::sort_floats`Josh Triplett-0/+60
2022-06-20Auto merge of #93765 - zhangyunhao116:heapsort, r=m-ou-sebors-8/+11
2022-06-20Rollup merge of #93080 - SkiFire13:itermut-as_mut_slice, r=m-ou-seDylan DPC-0/+48
2022-06-20Optimize heapsortzhangyunhao-8/+11
2022-06-20Show #![feature] in example.Mara Bos-1/+1
2022-06-03Rollup merge of #97366 - WaffleLapkin:stabilize_array_slice_from_ref, r=dtolnayDylan DPC-1/+1
2022-05-31Fixup feature name to be more consistent with othersMaybe Waffle-1/+1
2022-05-31Auto merge of #97419 - WaffleLapkin:const_from_ptr_range, r=oli-obkbors-2/+4
2022-05-30Remove `memset` alias from `fill_with`.Thom Chiovoloni-1/+0
2022-05-30Rename slice_from_ptr_range_const -> const_slice_from_ptr_rangeMaybe Waffle-1/+1
2022-05-30Make `from{,_mut}_ptr_range` constMaybe Waffle-2/+4
2022-05-25Rollup merge of #97363 - wackbyte:sliceindex-doc-typo, r=JohnTitorYuki Okushi-1/+1
2022-05-24Stabilize `{slice,array}::from_ref`Maybe Waffle-1/+1
2022-05-24Fix a mistake in `SliceIndex`'s documentationwackbyte-1/+1