summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
2021-11-15Auto merge of #90821 - scottmcm:new-slice-reverse, r=Mark-Simulacrumbors-91/+32
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-11improve slice::swap panic messageIbraheem Ahmed-4/+15
2021-10-11use `swap_unchecked` in `slice::reverse`ibraheemdev-5/+1
2021-10-11enable `slice_swap_unchecked` feature in doc testibraheemdev-0/+2
2021-10-11add `slice::swap_unchecked`ibraheemdev-8/+38
2021-10-11Add #[must_use] to as_type conversionsJohn Kugelman-0/+2
2021-10-10Add #[must_use] to conversions that move selfJohn Kugelman-0/+4
2021-10-09Add #[must_use] to string/char transformation methodsJohn Kugelman-0/+2
2021-10-03Auto merge of #87870 - WaffleLapkin:pub_split_at_unchecked, r=dtolnaybors-4/+4
2021-09-29Rollup merge of #88412 - mdsn:slice-sort-safety, r=dtolnayEric Huss-2/+23
2021-09-12Fix linkcheck issuesJoshua Nelson-3/+3
2021-09-08Bump stage0 compiler to 1.56Mark Rousskov-1/+0
2021-08-27Remove ignore-tidy-undocumented-unsafe from core::slice::sortMariano Casco-2/+23
2021-08-24Add SAFETY comments to core::slice::sort::partition_in_blocksMariano Casco-0/+26
2021-08-17Constified `Default` implementationsDeadbeef-2/+4
2021-08-12Test and fix size_hint for slice's [r]split* iteratorsFrank Steffahn-8/+25
2021-08-09Remove size_of == 1 case from `fill` specialization.Mara Bos-14/+2
2021-08-08Make `<[T]>::split_at_unchecked` and `<[T]>::split_at_mut_unchecked` publicWaffle-4/+4
2021-08-06Auto merge of #87462 - ibraheemdev:tidy-file-length-ignore-comment, r=Mark-Si...bors-3/+0
2021-08-03#[inline] slice::advance_byThe8472-2/+3
2021-08-02Rollup merge of #86593 - jhpratt:stabilize-const_slice_first_last, r=m-ou-seYuki Okushi-4/+4
2021-08-01Update const_slice_first_last_not_mut stable version.Mara Bos-4/+4
2021-08-01bump bootstrap compiler to 1.55Pietro Albini-1/+1
2021-07-31Auto merge of #87387 - the8472:slice-iter-advance_by, r=scottmcmbors-0/+15
2021-07-29Fix may not to appropriate might not or must notAli Malik-3/+3
2021-07-28Add TrustedRandomAccessNoCoerce supertrait without requirements or guarantees...Frank Steffahn-14/+66
2021-07-27Stabilize `const_fn_union`Jacob Pratt-1/+1
2021-07-25ignore comments in tidy-filelengthibraheemdev-3/+0