about summary refs log tree commit diff
path: root/src/libcore/slice
AgeCommit message (Expand)AuthorLines
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
2018-06-24Use assert_eq! in copy_from_sliceJonas Schievink-2/+2
2018-06-22Add explanation for (copy, clone)_from_sliceAnirudh Balaji-0/+8
2018-06-09Be more precise about why references need to be non-null and alignedRalf Jung-1/+1
2018-06-07Improve docs for slice::from_raw_partsRalf Jung-5/+7
2018-06-04Add ExactChunks::remainder and ExactChunks::into_remainderSebastian Dröge-8/+40
2018-06-04Move slice::exact_chunks directly above exact_chunks_mut for more consistent ...Sebastian Dröge-35/+35
2018-06-03Rollup merge of #51326 - sdroege:slice-iter-cleanup, r=dtolnayMark Simulacrum-16/+22
2018-06-03Implement TrustedLen for Windows and the 4 Chunks iteratorsSebastian Dröge-0/+15
2018-06-03Remove mention of Slice/SliceMut traits from IterMut documentationSebastian Dröge-3/+1
2018-06-03Move TrustedLen and FusedIterator impl of Iter/IterMut into macroSebastian Dröge-13/+6
2018-06-01Stabilize SliceIndex trait.Thayne McCombs-2/+30
2018-05-28extend from_raw_parts docs for slices and strs to mention alignment requirementRalf Jung-5/+6
2018-05-23Rollup merge of #50945 - stjepang:stabilize-from-ref, r=SimonSapinkennytm-3/+3
2018-05-21Make `[T]::len` and `str::len` const fnOliver Schneider-11/+21
2018-05-21Stabilize feature from_refStjepan Glavina-3/+3
2018-05-19Fix warning when building stage0 libcoreDan Robertson-0/+1
2018-05-17Remove the intrinsic for align_offsetSimonas Kazlauskas-2/+5
2018-05-17Implement [T]::align_toSimonas Kazlauskas-20/+162
2018-05-17Change align_offset to support different stridesSimonas Kazlauskas-0/+22
2018-05-17Switch to 1.26 bootstrap compilerMark Simulacrum-728/+259
2018-05-10Rollup merge of #50010 - ExpHP:slice-bounds, r=alexcrichtonAlex Crichton-4/+8
2018-05-06Move the tests in src/libcore/slice/memchr.rs as well.kennytm-82/+0
2018-05-02nano-optimization for memchr::repeat_byteAndre Bogus-13/+2
2018-04-30str/slice: factor out overflow error messagesMichael Lamparski-4/+8