summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
2021-04-22Auto merge of #77704 - AnthonyMikh:slice_index_with_ops_bound_pair, r=m-ou-sebors-0/+112
2021-04-21Bump slice_index_with_ops_bound_pair to 1.53.0Mara Bos-2/+2
2021-04-21Replace all `fmt.pad` with `debug_struct`Christiaan Dirkx-1/+1
2021-04-13Implement indexing slices with pairs of ops::Bound<usize>AnthonyMikh-0/+112
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/+95
2021-03-28Auto merge of #81354 - SkiFire13:binary-search-assume, r=nagisabors-0/+2
2021-03-27Rollup merge of #82917 - cuviper:iter-zip, r=m-ou-seDylan DPC-1/+2
2021-03-27Constantify some slice methodsBenoît du Garreau-8/+16
2021-03-27Auto merge of #83245 - the8472:generalize-slice-fill, r=m-ou-sebors-36/+13
2021-03-26Use iter::zip in library/Josh Stone-1/+2
2021-03-22Rollup merge of #82771 - emilio:iter-mut-as-slice, r=m-ou-seDylan DPC-2/+8
2021-03-21Bump slice_iter_mut_as_slice stable version.Mara Bos-2/+2
2021-03-21Auto merge of #83053 - oli-obk:const_stab_version, r=m-ou-sebors-2/+2
2021-03-19Rollup merge of #82570 - WaffleLapkin:split_whitespace_as_str, r=m-ou-seDylan DPC-2/+4
2021-03-18generalize slice::fill specialization for byte-sized itemsThe8472-36/+13
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-03-04slice: Stabilize IterMut::as_slice.Emilio Cobos Álvarez-2/+8
2021-03-02Auto merge of #82043 - tmiasko:may-have-side-effect, r=kennytmbors-39/+13
2021-03-02Rollup merge of #80189 - jyn514:convert-primitives, r=poliorceticsYuki Okushi-56/+54
2021-02-27Auto merge of #81874 - tesuji:spec_slice_fill, r=matthewjasperbors-7/+60
2021-02-27Fix `binary_search_by()` overflow issue in ZST caseFolyd-3/+6
2021-02-27Add `as_str` method for split whitespace str iteratorsWaffle-2/+4
2021-02-25Convert the rest of the standard library primitives to intra-doc linksJoshua Nelson-54/+54
2021-02-25Convert primitives to use intra-doc linksJoshua Nelson-2/+0
2021-02-23Rollup merge of #81154 - dylni:improve-design-of-assert-len, r=KodrAusDylan DPC-6/+107
2021-02-15Turn may_have_side_effect into an associated constantTomasz Miąsko-39/+13
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-6/+107
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/+60
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