about summary refs log tree commit diff
path: root/library/core/src/array/mod.rs
AgeCommit message (Expand)AuthorLines
2025-08-06tidyBoxy-2/+2
2025-07-21Constify Try, From, TryFromEvgenii Zheltonozhskii-1/+2
2025-07-15constify `Index` trait and its slice implsOli Scherer-4/+6
2025-07-03simplify receivers for some array method callsMarijn Schouten-4/+4
2025-07-01Update version placeholdersJosh Stone-1/+1
2025-05-24Rollup merge of #140066 - thaliaarchi:const-array-as-mut-slice, r=jhprattGuillaume Gomez-1/+1
2025-05-13Add `#[must_use]` to Array::mapJulian Knodt-0/+1
2025-04-20Stabilize <[T; N]>::as_mut_slice as constThalia Archibald-1/+1
2025-03-29Promise `array::from_fn` in generated in order of increasing indicesScott McMurray-6/+27
2025-01-24Rollup merge of #135489 - RalfJung:TryFromSliceError, r=tgross35Matthias Krüger-1/+0
2025-01-20core: add `#![warn(unreachable_pub)]`Urgau-1/+1
2025-01-14remove pointless allowed_through_unstable_modules on TryFromSliceErrorRalf Jung-1/+0
2025-01-11Add inherent versions of MaybeUninit methods for slicesltdk-3/+1
2024-11-26Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '...Gabriel Bjørnager Jensen-16/+4
2024-11-23Rollup merge of #133332 - bjoernager:const-array-as-mut-slice, r=jhpratt许杰友 Jieyou Xu (Joe)-1/+2
2024-11-22Mark '<[T; N]>::as_mut_slice' as 'const';Gabriel Bjørnager Jensen-1/+2
2024-11-21Mark and implement 'each_ref' and 'each_mut' in '[T; N]' as const;Gabriel Bjørnager Jensen-4/+30
2024-11-02fix some stability annotationsLukas Markeffsky-2/+3
2024-10-15update bootstrap configsJosh Stone-1/+0
2024-10-15replace placeholder versionJosh Stone-1/+1
2024-10-09stabilize `{slice,array}::from_mut`ultrabear-1/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-08-31Fixed more typos in library/coreranger-ross-1/+1
2024-08-09fix: Ensure `Guard`'s `drop` method is removed at `opt-level=s` for `Copy` typesburlinchen-0/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+0
2024-06-24Replace `MaybeUninit::uninit_array()` with array repeat expression.Kevin Reid-2/+2
2024-06-19core: add tracking issue for `array::repeat`joboet-1/+1
2024-06-19core: simplify implementation of `array::repeat`, address other nitsjoboet-18/+9
2024-06-19core: implement `array::repeat`joboet-0/+36
2024-06-11Simplify `[T; N]::try_map` signatureJubilee Young-4/+2
2024-04-22Stabilize generic `NonZero`.Markus Reiter-1/+4
2024-03-25Import the 2021 prelude in the core crateDaniel Paoliello-1/+1
2024-03-06add missing PartialOrd impl doc for arrayKonrad Höffner-0/+1
2024-02-22Use generic `NonZero` everywhere in `core`.Markus Reiter-5/+5
2024-02-08Bump version placeholdersMark Rousskov-2/+2
2024-01-26Rollup merge of #103522 - Dylan-DPC:76118/array-methods-stab, r=dtolnayMatthias Krüger-7/+2
2024-01-19Rollup merge of #117561 - tgross35:split-array, r=scottmcmMatthias Krüger-4/+4
2023-11-29Remove `{,r}split_array_ref{,_mut}` methods from slicesTrevor Gross-4/+4
2023-11-17Rollup merge of #117549 - DaniPopes:more-copied, r=b-naberMatthias Krüger-1/+1
2023-11-03library: use `copied` instead of manual `map`DaniPopes-1/+1
2023-11-02Add insta-stable std::hash::{DefaultHasher, RandomState} exportsltdk-1/+1
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-1/+1
2023-05-30Remove array_zipJubilee Young-23/+0
2023-05-27Auto merge of #112016 - GuillaumeGomez:rollup-fhqn4i6, r=GuillaumeGomezbors-0/+4
2023-05-25Add #[inline] to array TryFrom implsBen Kimock-0/+4
2023-05-24Stabilize `BuildHasher::hash_one`Scott McMurray-1/+0
2023-05-03Add the basic `ascii::Char` typeScott McMurray-0/+1
2023-04-28Make sure that signatures aren't accidental refinementsMichael Goulet-2/+2
2023-04-16rm const traits in libcoreDeadbeef-16/+9
2023-02-13Auto merge of #107634 - scottmcm:array-drain, r=thomccbors-127/+129