summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
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
2022-02-20Rollup merge of #93686 - dbrgn:trim-on-byte-slices, r=joshtriplettMatthias Krüger-0/+78
2022-02-19Fix some confusing wording and improve slice-search-related docsr00ster91-3/+15
2022-02-17core: Implement trim functions on byte slicesDanilo Bargen-0/+78
2022-02-14Make [u8]::cmp implementation branchlessjoboet-12/+11
2022-02-13allow const_mut_refsSaltyKitkat-0/+2
2022-02-13stabilize const_ptr_offsetSaltyKitkat-3/+3
2022-03-24add #[must_use] to functions of slice and its iterators.Jendrik-3/+78
2022-03-12Use reduce_sum in as_simd exampleJubilee Young-1/+1
2022-03-10Rollup merge of #94790 - RalfJung:portable-simd-miri, r=Dylan-DPCDylan DPC-3/+0
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-8/+8
2022-03-09enable portable-simd doctests in MiriRalf Jung-3/+0
2022-02-12Stabilise inherent_ascii_escape (FCP in #77174)ltdk-10/+9
2022-02-01Auto merge of #86988 - thomcc:chunky-splitz-says-no-checking, r=the8472bors-7/+35
2022-01-31Rollup merge of #93485 - est31:remove_curly, r=joshtriplettMatthias Krüger-3/+3
2022-01-30core: Remove some redundant {}s from the sorting codeest31-3/+3
2022-01-30Remove deprecated and unstable slice_partition_at_index functionsest31-44/+0