summary refs log tree commit diff
path: root/library/core/src/slice/mod.rs
AgeCommit message (Expand)AuthorLines
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-6/+9
2022-08-31Correct typoDezhi Wu-1/+1
2022-08-31Fix a bunch of typoDezhi Wu-2/+2
2022-08-29add tracking issue number to const_slice_split_at_not_mutTrevor Spiteri-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-21Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcmMatthias Krüger-1/+1
2022-08-21Replace most uses of `pointer::offset` with `add` and `sub`Maybe Waffle-1/+1
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-02make slice::{split_at,split_at_unchecked} const functionsTrevor Spiteri-4/+9
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-17Fix for `rchunks_exact` docTethys Svensson-1/+1
2022-06-20Add `[f32]::sort_floats` and `[f64]::sort_floats`Josh Triplett-0/+60
2022-05-30Remove `memset` alias from `fill_with`.Thom Chiovoloni-1/+0
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-04-26Rollup merge of #90312 - r00ster91:search, r=Dylan-DPCDylan DPC-3/+15
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-1/+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-1/+0
2022-04-03Auto merge of #92686 - saethlin:unsafe-debug-asserts, r=Amanieubors-17/+16
2022-03-30remove now unnecessary lang itemslcnr-1/+1
2022-03-29Add debug assertions to some unsafe functionsBen Kimock-17/+16
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-8/+12
2022-03-06Constify slice index for stringsDeadbeef-8/+12
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/+3
2022-02-27add `slice::{from_ptr_range, from_mut_ptr_range}`Ibraheem Ahmed-0/+3
2022-02-24revert implementation of `slice::swap`Ibraheem Ahmed-5/+11
2022-02-19Fix some confusing wording and improve slice-search-related docsr00ster91-3/+15
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-0/+43
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-2/+2
2022-03-09enable portable-simd doctests in MiriRalf Jung-3/+0