about summary refs log tree commit diff
path: root/library/core/src/slice/iter.rs
AgeCommit message (Expand)AuthorLines
2023-12-10remove redundant importssurechen-1/+1
2023-10-05Add more diagnostic items for clippyJason Newcomb-0/+1
2023-07-20Get `!nonnull` metadata consistently in slice iterators, without needing `ass...Scott McMurray-12/+13
2023-05-12Remove useless `assume`s from `slice::iter(_mut)`Scott McMurray-4/+0
2023-05-10Simplify the implementation of iterators over slices of ZSTsScott McMurray-11/+5
2023-04-29Improve internal field comments on `slice::Iter(Mut)`Scott McMurray-6/+20
2023-04-20More `mem::take` in `library`Scott McMurray-4/+4
2023-03-17Switch impls of `is_sorted_by` between slices and slice itersMaybe Waffle-1/+1
2023-03-17Make `slice::is_sorted_by` impl nicerMaybe Waffle-3/+1
2023-02-04Allow canonicalizing the `array::map` loop in trusted casesScott McMurray-1/+3
2023-01-15replace manual ptr arithmetic with ptr_subThe 8472-7/+1
2023-01-14Remove various double spaces in source comments.André Vennberg-2/+2
2022-11-20add examples to chunks remainder methods. Also fixed some links to rchunk rem...Felix S. Klock II-2/+30
2022-10-10Auto merge of #96711 - emilio:inline-slice-clone, r=nikicbors-0/+5
2022-09-22rustfmtScott McMurray-10/+4
2022-09-22Make ZST checks in core/alloc more readableScott McMurray-3/+3
2022-08-31Fix a bunch of typoDezhi Wu-2/+2
2022-08-12Rollup merge of #100030 - WaffleLapkin:nice_pointer_sis, r=scottmcmDylan DPC-2/+2
2022-08-05cleanup code w/ pointers in std a littleMaybe Waffle-2/+2
2022-08-01Add back Send and Sync impls on ChunksMut iteratorsBen Kimock-0/+24
2022-07-27Rollup merge of #94247 - saethlin:chunksmut-aliasing, r=the8472Guillaume Gomez-72/+122
2022-07-26Clarify safety commentsBen Kimock-59/+47
2022-07-26Explain how *mut [T] helps, and how we rely on the check in split_at_mutBen Kimock-20/+55
2022-07-16Rearrange slice::split_mut to remove bounds checkBen Kimock-10/+9
2022-07-03Fix slice::ChunksMut aliasingBen Kimock-72/+99
2022-06-20Rollup merge of #93080 - SkiFire13:itermut-as_mut_slice, r=m-ou-seDylan DPC-0/+48
2022-06-20Show #![feature] in example.Mara Bos-1/+1
2022-05-08Warn on unused doc(hidden) on trait impl itemsLeón Orell Valerian Liehr-11/+0
2022-05-04slice: #[inline] a couple iterator methods.Emilio Cobos Álvarez-0/+5
2022-04-17Add slice::remainderkadmin-0/+14
2022-03-24add #[must_use] to functions of slice and its iterators.Jendrik-0/+26
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-3/+3
2022-02-01Auto merge of #86988 - thomcc:chunky-splitz-says-no-checking, r=the8472bors-7/+35
2022-01-19Implement `IterMut::as_mut_slice`Giacomo Stevanato-0/+48
2021-12-15Rollup merge of #91916 - steffahn:fix-typos, r=dtolnayMatthias Krüger-1/+1
2021-12-14Rollup merge of #89825 - martinvonz:split-inclusive-empty, r=m-ou-seMatthias Krüger-2/+4
2021-12-14Fix a bunch of typosFrank Steffahn-1/+1
2021-10-31Pull `self.v.len()` out in `RChunks::next` as suggested in review commentsThom Chiovoloni-6/+7
2021-10-31Reference Chunks::next_back in more of the chunk iterators safety commentsThom Chiovoloni-34/+2
2021-10-31Address some issues in chunk iterator safety commentsThom Chiovoloni-25/+9
2021-10-31Carefully remove bounds checks from some chunk iteratorsThom Chiovoloni-6/+81
2021-10-31Rollup merge of #89897 - jkugelman:must-use-core, r=joshtriplettMatthias Krüger-0/+3
2021-10-30Add #[must_use] to remaining core functionsJohn Kugelman-0/+3
2021-10-21Make RSplit<T, P>: Clone not require T: CloneCaleb Sander-1/+11
2021-10-12Make split_inclusive() on an empty slice yield an empty outputMartin von Zweigbergk-2/+4
2021-10-11Add #[must_use] to as_type conversionsJohn Kugelman-0/+2
2021-10-10Add #[must_use] to conversions that move selfJohn Kugelman-0/+4
2021-08-12Test and fix size_hint for slice's [r]split* iteratorsFrank Steffahn-8/+25
2021-08-06Auto merge of #87462 - ibraheemdev:tidy-file-length-ignore-comment, r=Mark-Si...bors-1/+0
2021-07-28Add TrustedRandomAccessNoCoerce supertrait without requirements or guarantees...Frank Steffahn-14/+66