about summary refs log tree commit diff
path: root/src/libcore/slice
AgeCommit message (Expand)AuthorLines
2018-09-25Rollup merge of #54537 - sdroege:chunks-exact, r=alexcrichtonPietro Albini-52/+52
2018-09-25Also rename ExactChunks iterator name to ChunksExactSebastian Dröge-25/+25
2018-09-24Rename slice::exact_chunks() to slice::chunks_exact()Sebastian Dröge-29/+29
2018-09-23Introduce the partition_dedup/by/by_key methods for slicesClément Renault-0/+172
2018-09-22address Mark-Simulacrum commentsJorge Aparicio-9/+6
2018-09-22core: fix deprecated warningsJorge Aparicio-13/+10
2018-09-22Rollup merge of #54422 - ljedrz:simplify_first_last, r=Mark-SimulacrumPietro Albini-6/+6
2018-09-21Simplify slice's first(_mut) and last(_mut) with getljedrz-6/+6
2018-09-20define copy_within on slicesJack O'Connor-0/+57
2018-09-16Auto merge of #53754 - RalfJung:slice_align_to, r=alexcrichtonbors-8/+8
2018-09-03Link to more detailed docs in `slice::from_raw_parts_mut`Tobias Bucher-4/+7
2018-08-29Fix a comment in src/libcore/slice/mod.rsTobias Bucher-6/+1
2018-08-28stabilize slice_align_toRalf Jung-8/+8
2018-08-21Rollup merge of #53329 - frewsxcv:frewsxcv-ptr-add-sub, r=RalfJungkennytm-35/+35
2018-08-21Rollup merge of #53496 - matthiaskrgr:codespell_08_2018, r=varkorkennytm-3/+3
2018-08-20Replace usages of ptr::offset with ptr::{add,sub}.Corey Farwell-35/+35
2018-08-19Fix typos found by codespell.Matthias Krüger-3/+3
2018-08-19Auto merge of #52972 - RalfJung:from_raw_parts_align, r=alexcrichtonbors-0/+4
2018-08-12Rollup merge of #53059 - ljedrz:unneeded_returns, r=kennytmGuillaume Gomez-10/+10
2018-08-05Correct invalid feature attributesvarkor-5/+5
2018-08-04Remove redundant field names in structsljedrz-6/+6
2018-08-04Remove explicit returns where unnecessaryljedrz-10/+10
2018-08-02test that align_of handles alignment properly for the mid partRalf Jung-0/+2
2018-08-02debug_assert to ensure that from_raw_parts is only used properly alignedRalf Jung-0/+2
2018-08-02Auto merge of #52206 - RalfJung:zst-slices, r=alexcrichtonbors-212/+151
2018-08-02use the same length computation everywhereRalf Jung-21/+10
2018-08-02Introduce another way to compute the length, to fix position codegen regressionRalf Jung-8/+21
2018-08-02simplify len macro: No longer require the typeRalf Jung-12/+19
2018-08-02macro-inline len() and is_empty() to fix performance regressionsRalf Jung-20/+29
2018-08-02make the code for nth closer to what it used to beRalf Jung-3/+4
2018-08-02use wrapping_offset; fix logic error in nthRalf Jung-10/+12
2018-08-02commentsRalf Jung-2/+3
2018-08-02slice iterators: ZST iterators no longer just "make up" addressesRalf Jung-211/+128
2018-07-30fix memrchr in miriRalf Jung-10/+16
2018-07-28Auto merge of #52744 - RalfJung:align_offset, r=Kimundibors-10/+7
2018-07-27use slice::align_toRalf Jung-26/+7
2018-07-26make memrchr use align_offsetRalf Jung-1/+17
2018-07-19fix safety-related comment in slice::rotateRalf Jung-1/+1
2018-07-13Auto merge of #51622 - kennytm:three-field-range-inclusive, r=SimonSapinbors-10/+10
2018-07-13Change RangeInclusive to a three-field struct.kennytm-10/+10
2018-07-12Auto merge of #51339 - sdroege:exact-chunks-remainder, r=alexcrichtonbors-8/+40
2018-07-11Rollup merge of #51701 - anirudhb:master, r=frewsxcvGuillaume Gomez-0/+6
2018-07-10Change wording for {copy, clone}_from_sliceAnirudh Balaji-6/+6
2018-07-09Add "or destination" to {copy, clone}_from_slice exampleAnirudh Balaji-4/+4
2018-06-30Auto merge of #51717 - Mark-Simulacrum:snap, r=alexcrichtonbors-3/+0
2018-06-30Bootstrap from 1.28.0-beta.3Mark Simulacrum-3/+0
2018-06-28Rollup merge of #51765 - jonas-schievink:patch-1, r=KodrAusMark Rousskov-2/+2
2018-06-27Nit: Remove leading whitespaceAnirudh Balaji-2/+2
2018-06-26migrate codebase to `..=` inclusive range patternsZack M. Davis-3/+3
2018-06-24Make line-breaking more consistent.Anirudh Balaji-8/+6