about summary refs log tree commit diff
path: root/src/libcore/slice
AgeCommit message (Expand)AuthorLines
2018-01-04Fix potential overflow in TrustedRandomAccess impl for slice::{Chunks,ChunksMut}Sebastian Dröge-2/+8
2018-01-03Fix compilation of TrustedRandomAccess impl for slice::ChunksSebastian Dröge-2/+2
2018-01-03Implement TrustedRandomAccess for slice::{Chunks, ChunksMut, Windows}Sebastian Dröge-0/+28
2018-01-03Rollup merge of #47118 - hdhoang:patch-2, r=BurntSushikennytm-2/+2
2018-01-02Use assert!(chunk_size != 0) instead of > 0 for usize valueSebastian Dröge-1/+1
2018-01-02Consistently use chunk_size as the field name for Chunks and ChunksMutSebastian Dröge-15/+15
2018-01-01memchr: fix variable name in docstringsHoàng Đức Hiếu-2/+2
2017-12-31Auto merge of #46713 - Manishearth:memchr, r=blussbors-1/+260
2017-12-31Use memchr for [i8]::contains as wellManish Goregaokar-0/+8
2017-12-24Deprecate [T]::rotate in favor of [T]::rotate_{left,right}.Corey Farwell-2/+15
2017-12-20docs(slice): Clarify half-open intervalFlorian Keller-1/+1
2017-12-13Support 16 bit platformsManish Goregaokar-0/+6
2017-12-13Use memchr in [u8]::containsManish Goregaokar-1/+17
2017-12-13Move rust memchr impl to libcoreManish Goregaokar-0/+229
2017-11-17Auto merge of #45595 - scottmcm:iter-try-fold, r=dtolnaybors-110/+45
2017-11-11Auto merge of #45333 - alkis:master, r=blussbors-16/+18
2017-11-11Improve the performance of binary_search by reducing the number ofAlkis Evlogimenos-16/+18
2017-11-06Inclusive range updated to `..=` syntaxBadel2-9/+6
2017-11-01De-stabilize core::slice::{from_ref, from_ref_mut}.whitequark-2/+2
2017-10-29Fundamental internal iteration with try_foldScott McMurray-110/+45
2017-10-23Bring back slice::ref_slice as slice::from_ref.whitequark-0/+16
2017-09-30address some `FIXME`s whose associated issues were marked as closedNiv Kaminer-3/+3
2017-09-22Substitute `...` with the expanded formBadel2-9/+8
2017-09-22Add support for `..=` syntaxAlex Burka-0/+4
2017-08-30Remove Borrow bound from SliceExt::binary_searchChris Stankus-15/+10
2017-08-21Add [T]::swap_with_sliceScott McMurray-0/+13
2017-08-15use field init shorthand EVERYWHEREZack M. Davis-1/+1
2017-07-20std: Cut down #[inline] annotations where not necessaryAlex Crichton-1/+1
2017-07-02Fix tidy errorsStjepan Glavina-3/+3
2017-07-02Stabilize feature sort_unstableStjepan Glavina-2/+2
2017-06-21Reuse the mem::swap optimizations to speed up slice::rotateScott McMurray-8/+1
2017-06-19Bump version and stage0 compilerAlex Crichton-15/+6
2017-06-02Auto merge of #41670 - scottmcm:slice-rotate, r=alexcrichtonbors-0/+126
2017-05-24Rollup merge of #42134 - scottmcm:rangeinclusive-struct, r=aturonMark Simulacrum-40/+27
2017-05-21Stop returning k from [T]::rotateScott McMurray-4/+2
2017-05-21Update slice_rotate to a real tracking numberScott McMurray-1/+1
2017-05-21Remove the optimization in ptr_swap_nScott McMurray-45/+3
2017-05-21Add an in-place rotate method for slices to libcoreScott McMurray-0/+170
2017-05-21Make RangeInclusive just a two-field structScott McMurray-40/+27
2017-05-20Correct some stability versionsOliver Middleton-1/+1
2017-05-05Improve implementation approach comments in [T]::reverse()Scott McMurray-4/+15
2017-05-04Make [u8]::reverse() 5x fasterScott McMurray-0/+38
2017-04-28Explain why zero-length slices require a non-null pointerHenri Sivonen-2/+6
2017-04-09Move away from the ad-hoc NoDrop unionsSimonas Kazlauskas-18/+12
2017-04-08slice: Implement .rfind() for slice iterators Iter and IterMutUlrik Sverdrup-0/+13
2017-04-05Rollup merge of #41065 - jorendorff:slice-rsplit-41020, r=alexcrichtonAriel Ben-Yehuda-17/+148
2017-04-05Rollup merge of #40943 - Amanieu:offset_to, r=alexcrichtonAriel Ben-Yehuda-3/+4
2017-04-04simplify implementation of [T]::splitn and friends #41020Jason Orendorff-17/+9
2017-04-04add [T]::rsplit() and rsplit_mut() #41020Jason Orendorff-0/+139
2017-04-03Add ptr::offset_toAmanieu d'Antras-3/+4