about summary refs log tree commit diff
path: root/src/libcore/slice/mod.rs
AgeCommit message (Expand)AuthorLines
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-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-04-30str/slice: factor out overflow error messagesMichael Lamparski-4/+8
2018-04-25Fix typez4v1er-1/+0
2018-04-21Make the unstable StrExt and SliceExt traits private to libcore in not(stage0)Simon Sapin-2/+5
2018-04-21Replace SliceExt with inherent [T] methods in libcoreSimon Sapin-0/+1404
2018-04-21Move non-allocating [u8] inherent methods to libcoreSimon Sapin-0/+65
2018-04-17stabilize `swap_with_slice` featuretinaun-1/+1
2018-04-17stabilize `slice_rsplit` featuretinaun-14/+14
2018-03-31Deprecate offset_to; switch core&alloc to using offset_from insteadScott McMurray-5/+6
2018-03-15Stabilize `inclusive_range` library feature.kennytm-2/+2
2018-03-06Rollup merge of #47463 - bluss:fused-iterator, r=alexcrichtonkennytm-12/+10