summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
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
2022-05-23Rollup merge of #97087 - Nilstrieb:clarify-slice-iteration-order, r=dtolnayDylan DPC-0/+4
2022-05-18Stage-step cfgsMark Rousskov-1/+0
2022-05-16Clarify slice and Vec iteration orderNilstrieb-0/+4
2022-05-11Rename `unsigned_offset_from` to `sub_ptr`Scott McMurray-2/+2
2022-05-11Add `unsigned_offset_from` on pointersScott McMurray-2/+2
2022-05-08Warn on unused doc(hidden) on trait impl itemsLeón Orell Valerian Liehr-12/+0
2022-05-02This aligns the inline attributes of existing `__iterator_get_unchecked` with...The 8472-0/+1
2022-04-26Rollup merge of #90312 - r00ster91:search, r=Dylan-DPCDylan DPC-3/+15
2022-04-17Add slice::remainderkadmin-0/+14
2022-04-15Make some `usize`-typed masks definition agnostic to the size of `usize`Eduardo Sánchez Muñoz-7/+3
2022-04-11Rollup merge of #95743 - yaahc:binary-search-clarification, r=Mark-SimulacrumMatthias Krüger-2/+14
2022-04-08Rollup merge of #95579 - Cyborus04:slice_flatten, r=scottmcmDylan DPC-0/+82
2022-04-08add `<[[T; N]]>::flatten`, `<[[T; N]]>::flatten_mut`, and `Vec::<[T; N]>::int...Cyborus04-0/+82
2022-04-07Auto merge of #95678 - pietroalbini:pa-1.62.0-bootstrap, r=Mark-Simulacrumbors-2/+0
2022-04-07Update library/core/src/slice/mod.rsDylan DPC-1/+1
2022-04-07remove exclamation markDylan DPC-1/+1
2022-04-06add necessary closure for partition_pointJane Lusby-2/+2
2022-04-06Update binary_search example to instead redirect to partition_pointJane Lusby-2/+14
2022-04-06Message: Chunks cannot have a size of zero.Marijn Schouten-2/+2
2022-04-05trivial cfg(bootstrap) changesPietro Albini-2/+0
2022-04-04Mention implementers of unsatisfied traitEsteban Kuber-0/+1
2022-04-03Auto merge of #92686 - saethlin:unsafe-debug-asserts, r=Amanieubors-58/+44
2022-04-02make memcmp return a value of c_int_width instead of i32David Morrison-2/+2
2022-03-30Auto merge of #94963 - lcnr:inherent-impls-std, r=oli-obk,m-ou-sebors-2/+2