about summary refs log tree commit diff
path: root/library/core/src/array
AgeCommit message (Expand)AuthorLines
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-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
2024-06-19core: implement `array::repeat`joboet-0/+36
2024-06-11Simplify `[T; N]::try_map` signatureJubilee Young-4/+2
2024-05-20Implement BOXED_SLICE_INTO_ITERMichael Goulet-1/+1
2024-04-22Stabilize generic `NonZero`.Markus Reiter-1/+4
2024-03-25Import the 2021 prelude in the core crateDaniel Paoliello-2/+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-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-2/+2
2024-02-15Use generic `NonZero` internally.Markus Reiter-5/+5
2024-02-08Bump version placeholdersMark Rousskov-2/+2
2024-02-05Rollup merge of #120384 - wackbyte:array-equality-generics, r=Mark-SimulacrumMatthias Krüger-32/+32
2024-01-26Rollup merge of #103522 - Dylan-DPC:76118/array-methods-stab, r=dtolnayMatthias Krüger-7/+2