summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
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-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-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
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