about summary refs log tree commit diff
path: root/library/core/src/slice/mod.rs
AgeCommit message (Expand)AuthorLines
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
2021-02-12Rename `Range::ensure_subset_of` to `slice::range`dylni-2/+6
2021-02-12Fix possible soundness issue in `ensure_subset_of`dylni-1/+1
2021-02-12Improve design of `assert_len`dylni-1/+1
2021-02-12stabilize partition_pointVillSnow-3/+1
2021-02-12update documentsVillSnow-0/+23
2021-02-09specialize slice::clone_from_slice() for T: CopyThe8472-9/+31
2021-02-08Specialize slice::fill for Copy type and u8/i8/boolLzu Tao-7/+2
2021-02-04Explain why we use if/else control flow rather than matchFolyd-0/+4
2021-01-31Rollup merge of #81048 - yoshuawuyts:stabilize-core-slice-fill-with, r=m-ou-seJonas Schievink-3/+2
2021-01-30Simplify binary search logic to full branch code to let CPU guessing branch m...Folyd-21/+16
2021-01-30Improve slice.binary_search_by()'s best-case performance to O(1)Folyd-1/+5
2021-01-29rename raw_const/mut -> const/mut_addr_of, and stabilize themRalf Jung-2/+2
2021-01-18use raw-ptr-addr-of for slice::swapRalf Jung-4/+3