about summary refs log tree commit diff
path: root/library/core/src/slice/iter.rs
AgeCommit message (Expand)AuthorLines
2025-04-02Make slice iterator constructors unstably constDaniel Bloom-20/+25
2024-12-22Improve prose around `as_slice` example of IterMutMarijn Schouten-22/+20
2024-12-21Rollup merge of #134579 - hkBst:patch-6, r=jhprattJacob Pratt-20/+13
2024-12-21Rollup merge of #134577 - hkBst:patch-5, r=jhprattJacob Pratt-5/+11
2024-12-21Rollup merge of #134576 - hkBst:patch-4, r=jhprattJacob Pratt-6/+12
2024-12-20Improve prose around into_slice example of IterMutMarijn Schouten-20/+13
2024-12-20Improve prose around `as_slice` example of IterMarijn Schouten-5/+11
2024-12-20Improve prose around basic examples of Iter and IterMutMarijn Schouten-6/+12
2024-12-20remove reference to dangling from slice::IterMarijn Schouten-1/+1
2024-09-25Use `&raw` in the standard libraryJosh Stone-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+2
2024-07-12Updated slice documentationSpencer-10/+50
2024-06-11replace version placeholderPietro Albini-1/+1
2024-05-20Add the impls for Box<[T]>: IntoIteratorMichael Goulet-0/+3
2024-02-21rename ptr::invalid -> ptr::without_provenanceRalf Jung-5/+7
2024-02-15Use generic `NonZero` internally.Markus Reiter-1/+1
2024-02-09Auto merge of #120676 - Mark-Simulacrum:bootstrap-bump, r=clubby789bors-12/+12
2024-02-08Reduce use of NonNull::new_unchecked in library/Ben Kimock-7/+8
2024-02-08Bump version placeholdersMark Rousskov-12/+12
2023-11-07Stabilize `slice_group_by`Niklas Fiekas-32/+32
2024-01-23Auto merge of #119892 - joboet:libs_use_assert_unchecked, r=Nilstrieb,cuviperbors-1/+1
2024-01-21Rollup merge of #118811 - EbbDrop:is-sorted-by-bool, r=Mark-SimulacrumNadrieril-2/+1
2024-01-20Use bool instead of PartiolOrd in is_sorted_byEbbDrop-2/+1
2024-01-15Add private `NonZero<T>` type alias.Markus Reiter-3/+3
2024-01-13libs: use `assert_unchecked` instead of intrinsicjoboet-1/+1
2023-12-25Documented unsafe blockslch361-4/+12
2023-12-25Removed redundant bounds checking at Split's next and next_mut methodslch361-4/+4
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