about summary refs log tree commit diff
path: root/library/core/src/array
AgeCommit message (Expand)AuthorLines
2025-09-26Update CURRENT_RUSTC_VERSION post-bumpMark Rousskov-3/+3
2025-09-14Note some previous attempts to change the Default impl for `[T; 0]`Zalathar-0/+5
2025-09-12Constify Eq, Ord, PartialOrdEvgenii Zheltonozhskii-17/+29
2025-09-04Rollup merge of #146054 - joboet:array-repeat-must_use, r=ibraheemdevStuart Cook-0/+1
2025-09-03Rollup merge of #145279 - clarfonthey:const-convert-initial, r=tgross35Stuart Cook-9/+17
2025-09-01Constify conversion traitsltdk-9/+17
2025-08-31add `#[must_use]` to `array::repeat`joboet-0/+1
2025-08-30Rollup merge of #145465 - Kivooeo:stabilize-array_repeat, r=joboetStuart Cook-3/+1
2025-08-26remove deprecated Error::description in implsMarijn Schouten-8/+2
2025-08-21Rollup merge of #143383 - fee1-dead-contrib:push-mstmlwuskxyy, r=dtolnayJacob Pratt-4/+4
2025-08-15stabilize array repeatKivooeo-3/+1
2025-08-06tidyBoxy-2/+2
2025-08-03Use `as_array` in PartialEq for arraysScott McMurray-16/+12
2025-07-21Constify Try, From, TryFromEvgenii Zheltonozhskii-1/+2
2025-07-15constify `Index` trait and its slice implsOli Scherer-4/+6
2025-07-03stabilize `const_array_each_ref`Deadbeef-4/+4
2025-07-03simplify receivers for some array method callsMarijn Schouten-4/+4
2025-07-01Update version placeholdersJosh Stone-2/+2
2025-05-26impl `Default` for `array::IntoIter`Deadbeef-0/+7
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-04-11Auto merge of #139430 - scottmcm:polymorphic-array-into-iter, r=cuviperbors-141/+365
2025-04-09PR feedbackScott McMurray-8/+8
2025-04-05Polymorphize `array::IntoIter`'s iterator implScott McMurray-141/+365
2025-03-29Promise `array::from_fn` in generated in order of increasing indicesScott McMurray-6/+27
2025-03-06Remove #[cfg(not(test))] gates in coreThalia Archibald-1/+0
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-7/+5
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-03Auto merge of #132458 - RalfJung:rustc-const-unstable, r=Amanieubors-2/+0
2024-11-02get rid of a whole bunch of unnecessary rustc_const_unstable attributesRalf Jung-2/+0
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-12Stabilize `const_option`Trevor Gross-1/+0
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-9/+5
2024-07-26Fix doc nitsJohn Arundel-4/+6
2024-06-24Replace `MaybeUninit::uninit_array()` with array repeat expression.Kevin Reid-6/+6
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