summary refs log tree commit diff
path: root/library/core/src/slice/mod.rs
AgeCommit message (Expand)AuthorLines
2022-10-26Print the precondition we violated, and visible through output captureBen Kimock-4/+16
2022-10-24Auto merge of #100848 - xfix:use-metadata-for-slice-len, r=thomccbors-9/+2
2022-10-18Rollup merge of #102507 - scottmcm:more-binary-search-docs, r=m-ou-seMatthias Krüger-0/+32
2022-10-15More slice::partition_point examplesScott McMurray-0/+32
2022-10-02Auto merge of #102535 - scottmcm:optimize-split-at-partition-point, r=thomccbors-3/+12
2022-09-30Tell LLVM that `partition_point` returns a valid fencepostScott McMurray-3/+12
2022-09-26rustdoc: Update doc comment for splitn_mut to include mutable in the descriptionyancy-1/+1
2022-09-25Rollup merge of #101800 - chriss0612:feat/const_split_at_mut, r=fee1-deadfee1-dead-2/+4
2022-09-25Rollup merge of #98111 - eggyal:issue-97982, r=GuillaumeGomezfee1-dead-11/+14
2022-09-25Auto merge of #102169 - scottmcm:constify-some-conditions, r=thomccbors-5/+5
2022-09-22Make ZST checks in core/alloc more readableScott McMurray-5/+5
2022-09-14Cleanup closures.raldone01-7/+4
2022-09-14Add const_slice_split_at_mut Feature gate.onestacked-2/+4
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-21Use ptr::metadata in <[T]>::len implementationKonrad Borowski-9/+2
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-06-14Clarify `[T]::select_nth_unstable*` return valuesAlan Egerton-11/+14
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