summary refs log tree commit diff
path: root/library/core/src/array/mod.rs
AgeCommit message (Expand)AuthorLines
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
2023-02-10Remove a couple of `#[doc(hidden)] pub fn` and their `#[feature]` gatesTobias Bucher-15/+2
2023-02-04Allow canonicalizing the `array::map` loop in trusted casesScott McMurray-123/+101
2023-02-04Stop forcing `array::map` through an unnecessary `Result`Scott McMurray-57/+69
2023-02-04Stop using `into_iter` in `array::map`Scott McMurray-11/+23
2022-12-15doc: Fix a few small issuesHannes Körber-2/+2
2022-11-25change example of array_from_fn to match suggestionFabian Hintringer-3/+3
2022-11-24improve array_from_fn documenationFabian Hintringer-2/+13
2022-11-08document and improve array Guard typeThe 8472-5/+34
2022-11-07make the array initialization guard available to other modulesThe 8472-18/+18