summary refs log tree commit diff
path: root/library/core/src/slice/mod.rs
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-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-2/+2
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-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-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-01remove some unnecessary rustc_allow_const_fn_unstableRalf Jung-2/+0
2024-10-25Re-do recursive const stability checksRalf Jung-0/+6
2024-10-15update bootstrap configsJosh Stone-12/+0
2024-10-15replace placeholder versionJosh Stone-11/+11
2024-10-05Stabilize `const_slice_split_at_mut` and `const_slice_first_last_chunk`onestacked-7/+14
2024-10-04Rollup merge of #131177 - workingjubilee:stabilize-const-mut-referees, r=tgro...Jubilee-4/+8
2024-10-02library: Stabilize `const_slice_first_last`Jubilee Young-4/+8
2024-09-28make ptr metadata functions callable from stable const fnRalf Jung-1/+0
2024-09-25Use `&raw` in the standard libraryJosh Stone-2/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-18[Clippy] Swap `manual_retain` to use diagnostic items instead of pathsGnomedDev-0/+1
2024-09-15also stabilize const_refs_to_cellRalf Jung-1/+1
2024-09-15const_refs_to_cell: dont let mutable references sneak past the interior mutab...Ralf Jung-1/+1
2024-09-12Rollup merge of #130101 - RalfJung:const-cleanup, r=fee1-deadMatthias Krüger-3/+3
2024-09-09Fix slice::first_mut docsJames C. Wise-1/+1
2024-09-08add FIXME(const-hack)Ralf Jung-3/+3
2024-09-03replace placeholder versionBoxy-3/+3
2024-08-25Tweak some attributes to improve panic_immediate_abortBen Kimock-2/+2
2024-08-10Rollup merge of #128273 - Voultapher:improve-ord-violation-help, r=workingjub...Guillaume Gomez-44/+54