about summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
2023-10-25Avoid unnecessary comparison in partition_equalLukas Bergdoll-3/+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
2023-08-06Add a new `compare_bytes` intrinsic instead of calling `memcmp` directlyScott McMurray-15/+6
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-4/+4
2023-07-20Get `!nonnull` metadata consistently in slice iterators, without needing `ass...Scott McMurray-79/+92
2023-07-16Fix sort_unstable_by_key italicizationnipzu-1/+1
2023-07-08Rollup merge of #113064 - marcospb19:add-note-in-vec-swap-docs, r=Mark-Simula...Matthias Krüger-0/+2
2023-06-27std: edit [T]::swap docsJoão M. Bezerra-0/+2
2023-06-27Make `rustc_on_unimplemented` std-agnosticRageking8-1/+4
2023-06-23Rollup merge of #112704 - RalfJung:dont-wrap-slices, r=ChrisDentonMatthias Krüger-10/+14
2023-06-19Implement slice::split_once and slice::rsplit_onceBenjamin Lee-0/+56
2023-06-16slice::from_raw_parts: mention no-wrap-around conditionRalf Jung-10/+14
2023-06-15Auto merge of #106343 - the8472:slice-iter-fold, r=scottmcmbors-0/+33
2023-06-14use indexed loop instead of ptr bumpingThe 8472-10/+20
2023-06-14Rollup merge of #111974 - Sp00ph:update_guarantees, r=AmanieuMatthias Krüger-6/+4
2023-06-12optimize slice::Iter::foldThe 8472-0/+23
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-140/+311
2023-05-25Rollup merge of #95198 - clarfonthey:get_chunk, r=scottmcmMatthias Krüger-0/+258
2023-05-24Use helper functions for min/max_idxMarkus Everling-18/+28
2023-05-24Add Median of Medians fallback to introselectMarkus Everling-140/+301
2023-05-20Auto merge of #111646 - Voultapher:restore-branchless-code-gen-for-merge, r=c...bors-26/+12
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-16Use code with reliable branchless code-gen for slice::sort mergeLukas Bergdoll-26/+12
2023-05-15Auto merge of #108273 - tspiteri:const_slice_split_at_not_mut, r=dtolnaybors-1/+2
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-35/+38
2023-05-09Rollup merge of #111282 - scottmcm:remove-unneeded-assumes, r=workingjubileeMatthias Krüger-10/+6
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-10/+23
2023-05-06Always const-eval the gcd in `slice::align_to_offsets`Markus Everling-37/+6
2023-05-06Remove some `assume`s from slice iterators that don't do anythingScott McMurray-10/+6
2023-05-04Constify `[u8]::is_ascii` (unstably)Scott McMurray-12/+30
2023-05-04Rollup merge of #111009 - scottmcm:ascii-char, r=BurntSushiMatthias Krüger-0/+30
2023-05-03Add the basic `ascii::Char` typeScott McMurray-0/+30
2023-05-03Constify slice flatten methodKonrad Borowski-1/+1
2023-04-30Rollup merge of #110997 - scottmcm:slice-iter-comments, r=the8472Matthias Krüger-6/+20