summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
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
2022-03-30remove now unnecessary lang itemslcnr-2/+2
2022-03-29mark FIXMES for all the places found that are probably offset_fromAria Beingessner-0/+2
2022-03-29cleanup some of the less terrifying library codeAria Beingessner-4/+4
2022-03-29Make the stdlib largely conform to strict provenance.Aria Beingessner-6/+6
2022-03-29Add debug assertions to some unsafe functionsBen Kimock-58/+44
2022-03-26Bump const_ptr_offset stabilization to 1.61David Tolnay-3/+3
2022-03-10Rollup merge of #94657 - fee1-dead:const_slice_index, r=oli-obkMatthias Krüger-24/+79
2022-03-06Constify slice index for stringsDeadbeef-22/+29
2022-03-03only disable SIMD for doctests in Miri (not for the stdlib build itself)Ralf Jung-3/+3
2022-02-28Rollup merge of #89793 - ibraheemdev:from_ptr_range, r=m-ou-seMatthias Krüger-0/+114
2022-02-27add `slice::{from_ptr_range, from_mut_ptr_range}`Ibraheem Ahmed-0/+114
2022-02-24revert implementation of `slice::swap`Ibraheem Ahmed-5/+11
2022-02-22Constify slice indexingDeadbeef-16/+64