summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
2024-02-03Bump version placeholdersMark Rousskov-27/+27
2023-11-17Improve slice_group_by doc wordingNiklas Fiekas-6/+6
2023-11-07Stabilize `slice_group_by`Niklas Fiekas-52/+44
2024-01-23Auto merge of #119892 - joboet:libs_use_assert_unchecked, r=Nilstrieb,cuviperbors-6/+7
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-8/+20
2024-01-20Use bool instead of PartiolOrd in is_sorted_byEbbDrop-8/+20
2024-01-20core: introduce split_at{,_mut}_checkedMichal Nazarewicz-10/+263
2024-01-20Rollup merge of #113142 - the8472:opt-cstr-display, r=Mark-SimulacrumMatthias Krüger-1/+40
2024-01-19Rollup merge of #117561 - tgross35:split-array, r=scottmcmMatthias Krüger-218/+72
2024-01-15Add private `NonZero<T>` type alias.Markus Reiter-3/+3
2024-01-13libs: use `assert_unchecked` instead of intrinsicjoboet-6/+7
2024-01-10Stabilize `slice_first_last_chunk`Trevor Gross-34/+20
2024-01-09Auto merge of #116846 - krtab:slice_compare_no_memcmp_opt, r=the8472bors-1/+11
2024-01-08A more efficient slice comparison implementation for T: !BytewiseEqArthur Carcano-1/+11
2024-01-06Fix typo in docs for slice::split_once, slice::rsplit_onceConnor Lane Smith-2/+2
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-15Rollup merge of #118523 - okaneco:trim_ascii, r=Mark-SimulacrumJubilee-0/+3
2023-12-12Add ASCII whitespace trimming functions to `&str`okaneco-0/+3
2023-12-10remove redundant importssurechen-7/+2
2023-12-04Improve example in `slice::windows()` docGurinder Singh-5/+5
2023-12-04Auto merge of #116915 - bend-n:unwet, r=saethlinbors-1/+4
2023-12-04use `assume(idx < self.len())` in `[T]::get_unchecked`bendn-1/+4
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-12-02Auto merge of #118077 - calebzulawski:sync-portable-simd-2023-11-19, r=workin...bors-2/+1
2023-11-29Remove `{,r}split_array_ref{,_mut}` methods from slicesTrevor Gross-158/+12
2023-11-26Fix library testsCaleb Zulawski-2/+1
2023-11-26Use `usize::repeat_u8` instead of implementing `repeat_byte` in `memchr.rs`Maybe Waffle-16/+2
2023-11-25Convert many `assert_unsafe_precondition` to `debug_assert_nounwind`Gary Guo-83/+59
2023-11-24Auto merge of #117722 - okaneco:binarysearch, r=thomccbors-9/+8
2023-11-10Rollup merge of #117039 - scottmcm:clarify-get-unchecked, r=cuviperMatthias Krüger-0/+10
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-25Avoid unnecessary comparison in partition_equalLukas Bergdoll-3/+10
2023-10-25Add the missing wordscottmcm-4/+4
2023-10-21Clarify UB in `get_unchecked(_mut)`Scott McMurray-0/+10
2023-10-16Make `rustc_onunimplemented` export path agnosticNilstrieb-4/+1
2023-10-14Auto merge of #116407 - Mark-Simulacrum:bootstrap-bump, r=onur-ozkanbors-3/+3
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-10-05Add more diagnostic items for clippyJason Newcomb-0/+3
2023-10-03Bump version placeholdersMark Rousskov-1/+1
2023-09-28changed 'rotate' to 'rotating'Anshul-1/+1
2023-09-16Auto merge of #114494 - est31:extend_useless_ptr_null_checks, r=jackh726bors-0/+2
2023-09-01Const-stabilize `is_ascii`Scott McMurray-1/+1