summary refs log tree commit diff
path: root/library/core/src/slice/mod.rs
AgeCommit message (Expand)AuthorLines
2024-02-03Bump version placeholdersMark Rousskov-15/+15
2023-11-17Improve slice_group_by doc wordingNiklas Fiekas-6/+6
2023-11-07Stabilize `slice_group_by`Niklas Fiekas-20/+12
2024-01-23Auto merge of #119892 - joboet:libs_use_assert_unchecked, r=Nilstrieb,cuviperbors-2/+3
2024-01-22Rollup merge of #118578 - mina86:c, r=dtolnayMatthias Krüger-10/+105
2024-01-21reviewMichal Nazarewicz-176/+18
2024-01-21Rollup merge of #118811 - EbbDrop:is-sorted-by-bool, r=Mark-SimulacrumNadrieril-6/+19
2024-01-20Use bool instead of PartiolOrd in is_sorted_byEbbDrop-6/+19
2024-01-20core: introduce split_at{,_mut}_checkedMichal Nazarewicz-10/+263
2024-01-19Rollup merge of #117561 - tgross35:split-array, r=scottmcmMatthias Krüger-218/+72
2024-01-13libs: use `assert_unchecked` instead of intrinsicjoboet-2/+3
2024-01-10Stabilize `slice_first_last_chunk`Trevor Gross-34/+20
2024-01-06Fix typo in docs for slice::split_once, slice::rsplit_onceConnor Lane Smith-2/+2
2023-12-10remove redundant importssurechen-6/+1
2023-12-04Improve example in `slice::windows()` docGurinder Singh-5/+5
2023-12-03move calling miri_promise_symbolic_alignment to a shared helperRalf Jung-23/+8
2023-12-03miri: support 'promising' alignment for symbolic alignment checkRalf Jung-0/+27
2023-11-29Remove `{,r}split_array_ref{,_mut}` methods from slicesTrevor Gross-158/+12
2023-11-26Fix library testsCaleb Zulawski-2/+1
2023-11-25Convert many `assert_unsafe_precondition` to `debug_assert_nounwind`Gary Guo-37/+30
2023-11-24Auto merge of #117722 - okaneco:binarysearch, r=thomccbors-9/+8
2023-11-08Refactor `binary_search_by` to use conditional movesokaneco-9/+8
2023-11-07Fix addition formattingscottmcm-2/+2
2023-11-03Make documentation of `slice_first_last_chunk` more consistentTrevor Gross-21/+35
2023-11-03Reverse ordering of `split_{first,last}_chunk` to be `(preceding, last)`Trevor Gross-7/+7
2023-10-25Add the missing wordscottmcm-4/+4
2023-10-21Clarify UB in `get_unchecked(_mut)`Scott McMurray-0/+10
2023-10-14Auto merge of #116407 - Mark-Simulacrum:bootstrap-bump, r=onur-ozkanbors-2/+2
2023-10-11Auto merge of #112818 - Benjamin-L:add-slice_split_once, r=cuviperbors-0/+56
2023-10-08Bump to latest betaMark Rousskov-2/+2
2023-09-28changed 'rotate' to 'rotating'Anshul-1/+1
2023-08-06Add #[rustc_never_returns_null_ptr] to std functionsest31-0/+2
2023-07-31impl SliceIndex<str> for (Bound<usize>, Bound<usize>)Matt Fellenz-1/+1
2023-07-16Fix sort_unstable_by_key italicizationnipzu-1/+1
2023-06-27std: edit [T]::swap docsJoão M. Bezerra-0/+2
2023-06-19Implement slice::split_once and slice::rsplit_onceBenjamin Lee-0/+56
2023-06-14Rollup merge of #111974 - Sp00ph:update_guarantees, r=AmanieuMatthias Krüger-6/+4
2023-05-30Swap out CURRENT_RUSTC_VERSION to 1.71.0Mark Rousskov-1/+1
2023-05-28Update current impl comment for `select_nth_unstable_by_key`Markus Everling-2/+3
2023-05-28Update runtime guarantee for `select_nth_unstable`Markus Everling-6/+4
2023-05-26Update current implementation comments for `select_nth_unstable`Markus Everling-4/+6
2023-05-25Rollup merge of #107522 - Sp00ph:introselect, r=AmanieuMichael Goulet-3/+4
2023-05-25Rollup merge of #95198 - clarfonthey:get_chunk, r=scottmcmMatthias Krüger-0/+258
2023-05-24Add Median of Medians fallback to introselectMarkus Everling-3/+4
2023-05-19Add slice::{split_,}{first,last}_chunk{,_mut}ltdk-0/+258
2023-05-19constify `slice_as_chunks` (unstable)Scott McMurray-6/+6
2023-05-15Auto merge of #108273 - tspiteri:const_slice_split_at_not_mut, r=dtolnaybors-1/+2
2023-05-08Auto merge of #111296 - Sp00ph:const_gcd, r=nagisa,Mark-Simulacrumbors-37/+6
2023-05-06Tune the `is_ascii` implementation used for short slicesScott McMurray-0/+4
2023-05-06Always const-eval the gcd in `slice::align_to_offsets`Markus Everling-37/+6