summary refs log tree commit diff
path: root/library/core/src/slice/mod.rs
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-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-22Implement split_array and split_array_mutJethro Beekman-0/+74
2021-10-16Remove a mention to `copy_from_slice` from `clone_from_slice` docYuki Okushi-3/+0
2021-10-14don't duplicate slice `panic_bounds_check`Ibraheem Ahmed-10/+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-03Auto merge of #87870 - WaffleLapkin:pub_split_at_unchecked, r=dtolnaybors-4/+4
2021-09-12Fix linkcheck issuesJoshua Nelson-3/+3
2021-09-08Bump stage0 compiler to 1.56Mark Rousskov-1/+0
2021-08-17Constified `Default` implementationsDeadbeef-2/+4
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-2/+0
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-29Fix may not to appropriate might not or must notAli Malik-3/+3
2021-07-27Stabilize `const_fn_union`Jacob Pratt-1/+1
2021-07-25ignore comments in tidy-filelengthibraheemdev-2/+0
2021-06-30Remove "length" doc aliasesAmanieu d'Antras-1/+0
2021-06-24Partially stabilize `const_slice_first_last`Jacob Pratt-4/+4
2021-06-21Auto merge of #86383 - shamatar:slice_len_lowering, r=bjorn3bors-0/+1
2021-06-20Squashed implementation of the passAlex Vlasov-0/+1
2021-06-15Auto merge of #85406 - VillSnow:integrate_binary_search, r=JohnTitorbors-21/+1
2021-06-07Clarify documentation of slice sorting methodsLionel Foxcroft-9/+15
2021-05-23Don't reborrow self when computing the dest pointer in <[T]>::copy_withinGiacomo Stevanato-1/+5
2021-05-17Make partition_point to forward to binary_search_byVillSnow-21/+1
2021-05-03Clarify documentation for `[T]::contains`. Fixes #84877.Jim Blandy-2/+3
2021-04-04Bump cfgsMark Rousskov-19/+9
2021-03-30Rollup merge of #83571 - a1phyr:feature_const_slice_first_last, r=dtolnayDylan DPC-8/+16
2021-03-28Add escape_default method to u8 and [u8]ltdk-0/+3
2021-03-28Auto merge of #81354 - SkiFire13:binary-search-assume, r=nagisabors-0/+2
2021-03-27Constantify some slice methodsBenoît du Garreau-8/+16
2021-03-15Fix const stability `since` versions.Oli Scherer-2/+2
2021-03-10apply reviewFrançois Mockers-2/+4
2021-03-10add back sort_by_key link, allow linter and add commentFrançois Mockers-1/+6
2021-03-09convert slice doc link to intra-doc linksFrançois Mockers-54/+53
2021-03-06Instruct LLVM that binary_search_by returns a valid indexGiacomo Stevanato-0/+2
2021-03-05Auto merge of #74024 - Folyd:master, r=m-ou-sebors-19/+25
2021-02-27Auto merge of #81874 - tesuji:spec_slice_fill, r=matthewjasperbors-7/+2
2021-02-27Fix `binary_search_by()` overflow issue in ZST caseFolyd-3/+6
2021-02-23Rollup merge of #81154 - dylni:improve-design-of-assert-len, r=KodrAusDylan DPC-2/+6
2021-02-15Use new pointer metadata API inside libcore instead of manual transmutesSimon Sapin-3/+17
2021-02-13Auto merge of #81854 - the8472:specialize-clone-slice, r=Mark-Simulacrumbors-9/+31