summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
2025-01-07update version placeholdersPietro Albini-1/+1
2024-12-31Rollup merge of #134927 - DaniPopes:const-as_flattened_mut, r=scottmcmStuart Cook-1/+2
2024-12-30Make slice::as_flattened_mut unstably constDaniPopes-1/+2
2024-12-25stabilize const_swapRalf Jung-1/+1
2024-12-22Auto merge of #130733 - okaneco:is_ascii, r=scottmcmbors-12/+58
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-12-20Rollup merge of #132830 - wr7:substr_range_documentation, r=tgross35Jacob Pratt-7/+8
2024-12-14Replace i32 by char in `split_at` & `_unchecked`tkirishima-12/+12
2024-12-11Rollup merge of #133598 - ChayimFriedman2:get-many-mut-detailed-err, r=scottmcmMatthias Krüger-27/+31
2024-12-02Rollup merge of #133743 - bjoernager:slice-as-array, r=joboetGuillaume Gomez-1/+1
2024-12-02Auto merge of #133728 - jhpratt:rollup-k1i60pg, r=jhprattbors-2/+0
2024-12-02Fix docs for '<[T]>::as_array';Gabriel Bjørnager Jensen-1/+1
2024-12-01Rollup merge of #133672 - RalfJung:const-stability-cleanup, r=jhprattJacob Pratt-2/+0
2024-12-01Rollup merge of #131416 - okaneco:const_copy, r=RalfJungJacob Pratt-6/+10
2024-12-01Mark `slice::copy_from_slice` unstably constokaneco-6/+10
2024-11-30get rid of a bunch of unnecessary rustc_const_unstableRalf Jung-2/+0
2024-11-30move slice::swap_unchecked constness to slice_swap_unchecked feature gateRalf Jung-1/+1
2024-11-29Auto merge of #133533 - BoxyUwU:bump-boostrap, r=jieyouxu,Mark-Simulacrumbors-8/+4
2024-11-29Rollup merge of #133530 - timvisee:master, r=jhprattMatthias Krüger-16/+16
2024-11-28Change `GetManyMutError` to match T-libs-api decisionChayim Refael Friedman-27/+31
2024-11-28Also use zero when referencing to capacity or lengthtimvisee-16/+16
2024-11-28Rollup merge of #133512 - bjoernager:slice-as-array, r=AmanieuGuillaume Gomez-0/+38
2024-11-27update cfgsBoxy-6/+2
2024-11-27replace placeholder versionBoxy-2/+2
2024-11-26Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '...Gabriel Bjørnager Jensen-0/+38
2024-11-26Rollup merge of #133136 - ChayimFriedman2:get-many-mut, r=AmanieuMichael Goulet-18/+180
2024-11-25Support ranges in `<[T]>::get_many_mut()`Chayim Refael Friedman-18/+180
2024-11-20Rollup merge of #132732 - gavincrawford:as_ptr_attribute, r=UrgauJacob Pratt-0/+2
2024-11-16clean up const stability around UB checksRalf Jung-2/+2
2024-11-13Auto merge of #132883 - LaihoE:vectorized_is_sorted, r=thomccbors-1/+17
2024-11-11Tag relevant functions with #[rustc_as_ptr] attributegavincrawford-0/+2
2024-11-11vectorize slice::is_sortedLaiho-1/+17
2024-11-10elem_offset / subslice_range: use addr() instead of 'as usize'Ralf Jung-4/+4
2024-11-09Improve documentation of `element_offset` and related methodswr7-3/+4
2024-11-09Rename `elem_offset` to `element_offset`wr7-4/+4
2024-11-06Add `is_ascii` function optimized for x86-64 for [u8]okaneco-12/+58
2024-11-05Add new unstable feature `const_eq_ignore_ascii_case`okaneco-2/+22
2024-11-05add const_eval_select macro to reduce redundancyRalf Jung-128/+124
2024-11-03Rollup merge of #132423 - RalfJung:const-eval-align-offset, r=dtolnayJubilee-117/+131
2024-11-03Auto merge of #132479 - compiler-errors:fx-feat-yeet, r=fee1-deadbors-1/+1
2024-11-03Rename the FIXMEs, remove a few that dont matter anymoreMichael Goulet-1/+1
2024-11-03remove const-support for align_offsetRalf Jung-117/+131
2024-11-03add const_panic macro to make it easier to fall back to non-formatting panic ...Ralf Jung-49/+19
2024-11-01remove some unnecessary rustc_allow_const_fn_unstableRalf Jung-2/+0