about summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
2022-01-05Rollup merge of #92092 - saethlin:fix-sort-guards-sb, r=danielhenrymantillaMatthias Krüger-9/+9
2022-01-02Auto merge of #91961 - kornelski:track_split_caller, r=joshtriplettbors-0/+5
2021-12-18Derive src pointers in sort drop guards from &TBen Kimock-9/+9
2021-12-16Fix SB problems in slice sortingBen Kimock-17/+20
2021-12-15Auto merge of #91962 - matthiaskrgr:rollup-2g082jw, r=matthiaskrgrbors-4/+4
2021-12-15Rollup merge of #91916 - steffahn:fix-typos, r=dtolnayMatthias Krüger-4/+4
2021-12-15Track caller of slice split and swapKornel-0/+5
2021-12-15Rollup merge of #91479 - scottmcm:slice-as-simd, r=workingjubileeMatthias Krüger-0/+119
2021-12-14Update comments per review feedbackScott McMurray-10/+46
2021-12-14Rollup merge of #89825 - martinvonz:split-inclusive-empty, r=m-ou-seMatthias Krüger-2/+4
2021-12-14Fix a bunch of typosFrank Steffahn-4/+4
2021-12-12Rollup merge of #91814 - japm48:spelling-fix, r=RalfJungMatthias Krüger-2/+2
2021-12-12doc: fix typo in commentsjapm48-2/+2
2021-12-11Rollup merge of #91737 - Manishearth:panic-immediate-stdlib, r=joshtriplettMatthias Krüger-5/+10
2021-12-11Rollup merge of #91515 - jethrogb:rsplit_array, r=yaahcMatthias Krüger-0/+78
2021-12-10Rollup merge of #91325 - RalfJung:const_eval_select, r=dtolnayMatthias Krüger-2/+2
2021-12-10Add rsplit_array variants to slices and arraysJethro Beekman-0/+78
2021-12-10inline slice panics on panic_immediate_abortManish Goregaokar-5/+10
2021-12-02Add `[T]::as_simd(_mut)`Scott McMurray-0/+83
2021-12-02Rollup merge of #91394 - Mark-Simulacrum:bump-stage0, r=pietroalbiniMatthias Krüger-2/+2
2021-12-01Rollup merge of #88502 - ibraheemdev:slice-take, r=dtolnayMatthias Krüger-1/+263
2021-11-30Apply cfg-bootstrap switchMark Rousskov-2/+2
2021-11-28adjust some const_eval_select safety commentsRalf Jung-2/+2
2021-11-15Auto merge of #90821 - scottmcm:new-slice-reverse, r=Mark-Simulacrumbors-91/+32
2021-11-12add slice take methodsIbraheem Ahmed-1/+263
2021-11-11MIRI says `reverse` is UB, so replace it with an implementation that LLVM can...Scott McMurray-91/+32
2021-11-09Extend the const_swap featureest31-2/+4
2021-10-31Rollup merge of #89897 - jkugelman:must-use-core, r=joshtriplettMatthias Krüger-0/+3
2021-10-31Rollup merge of #89835 - jkugelman:must-use-expensive-computations, r=joshtri...Matthias Krüger-0/+4
2021-10-31Auto merge of #90306 - kornelski:slicecloneasset, r=joshtriplettbors-0/+5
2021-10-30Add #[must_use] to remaining core functionsJohn Kugelman-0/+3
2021-10-29Apply changes proposed in the reviewMaybe Waffle-8/+9
2021-10-29Use proper issue number for `feature(const_slice_from_raw_parts)`Maybe Waffle-4/+4
2021-10-28Make `core::slice::from_raw_parts[_mut]` constMaybe Waffle-14/+41
2021-10-26track_caller for slice length assertionsKornel-0/+5
2021-10-25Fixed missing double quote in the patch (slice.swap)Tommaso Fontana-1/+1
2021-10-25Changed slice.swap documentation for better readabilityTommaso Fontana-3/+3
2021-10-24Rollup merge of #90162 - WaffleLapkin:const_array_slice_from_ref_mut, r=oli-obkMatthias Krüger-2/+4
2021-10-23Fill tracking issue for `const_slice_from_ref` and `const_array_from_ref`Maybe Waffle-2/+2
2021-10-23Rollup merge of #90117 - calebsander:fix/rsplit-clone, r=yaahcMatthias Krüger-1/+11
2021-10-22Mark {array,slice}::{from_ref,from_mut} as const fnMaybe Waffle-2/+4
2021-10-22Implement split_array and split_array_mutJethro Beekman-0/+74
2021-10-21Make RSplit<T, P>: Clone not require T: CloneCaleb Sander-1/+11
2021-10-16Remove a mention to `copy_from_slice` from `clone_from_slice` docYuki Okushi-3/+0
2021-10-15Auto merge of #88540 - ibraheemdev:swap-unchecked, r=kennytmbors-13/+46
2021-10-14don't duplicate slice `panic_bounds_check`Ibraheem Ahmed-10/+4
2021-10-12Add #[must_use] to expensive computationsJohn Kugelman-0/+4
2021-10-12Make split_inclusive() on an empty slice yield an empty outputMartin von Zweigbergk-2/+4
2021-10-11improve slice::swap panic messageIbraheem Ahmed-4/+15
2021-10-11use `swap_unchecked` in `slice::reverse`ibraheemdev-5/+1