summary refs log tree commit diff
path: root/library/core/src/slice/mod.rs
AgeCommit message (Expand)AuthorLines
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-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
2021-01-15Rename as_chunks_mut_unchecked -> as_chunks_unchecked_mutScott McMurray-7/+7
2021-01-15Add `as_rchunks` (and friends) to slicesScott McMurray-7/+154
2021-01-15Stabilize `core::slice::fill_with`Yoshua Wuyts-3/+2
2021-01-13Fix stabilisation version of slice_stripIan Jackson-4/+4
2021-01-13Auto merge of #77858 - ijackson:split-inclusive, r=KodrAusbors-6/+3
2021-01-13bump split_inclusive stabilization to 1.51.0Ashley Mannix-3/+3
2021-01-11core/slice: remove doc comment about scoped borrowManos Pitsidianakis-8/+5
2021-01-07Auto merge of #77853 - ijackson:slice-strip-stab, r=Amanieubors-6/+44
2021-01-04Stabilize split_inclusiveIan Jackson-6/+3
2020-12-31Auto merge of #79895 - Kerollmops:slice-group-by, r=m-ou-sebors-0/+93
2020-12-31Replace the tracking issue for the slice_group_by featureClément Renault-3/+3
2020-12-31Add an extra example to the two methodsClément Renault-0/+30
2020-12-28Add "length" as doc alias to len methodsKonrad Borowski-0/+1
2020-12-27Add test for slice as prefix/suffix patternIan Jackson-0/+4
2020-12-27Mark SlicePattern trait uses as ?SizedIan Jackson-2/+2
2020-12-27Drop pointless as_slice call.Ian Jackson-1/+1
2020-12-27Use existing slice_pattern feature for SlicePatternIan Jackson-1/+1
2020-12-27Stablize slice::strip_prefix and strip_suffix, with SlicePatternIan Jackson-7/+41
2020-12-22Stabilize `core::slice::fill`Yoshua Wuyts-3/+1
2020-12-10Fix the fmt issuesClément Renault-2/+4
2020-12-10Indicate the anonymous lifetime of the GroupBy and GroupByMutClément Renault-2/+2
2020-12-10Import the GroupBy and GroupByMut in the slice moduleClément Renault-0/+3
2020-12-10Use none as the issue instead of 0Clément Renault-2/+2
2020-12-10Implement it with only safe codeClément Renault-12/+2
2020-12-10Introduce the GroupBy and GroupByMut IteratorsClément Renault-0/+68
2020-11-22Auto merge of #79219 - shepmaster:beta-bump, r=Mark-Simulacrumbors-2/+1
2020-11-22Auto merge of #78816 - SkiFire13:fix-slice-pointer-provenance, r=RalfJungbors-6/+9
2020-11-22Auto merge of #79275 - integer32llc:doc-style, r=jonas-schievinkbors-4/+4