summary refs log tree commit diff
path: root/library/core/src/array/mod.rs
AgeCommit message (Expand)AuthorLines
2022-05-24Stabilize `{slice,array}::from_ref`Maybe Waffle-1/+1
2022-05-20Stabilize core::array::from_fnCaio-7/+5
2022-04-05trivial cfg(bootstrap) changesPietro Albini-1/+0
2022-03-30remove now unnecessary lang itemslcnr-1/+1
2022-03-06Constify slice index for stringsDeadbeef-4/+6
2022-02-03Add missing const stability attributesJacob Pratt-0/+1
2021-12-23Switch all libraries to the 2021 editionDeadbeef-2/+0
2021-12-13Rollup merge of #91086 - rhysd:issue-91085, r=m-ou-seMatthias Krüger-0/+12
2021-12-11Rollup merge of #90270 - woppopo:const_borrow_trait, r=dtolnayMatthias Krüger-2/+4
2021-12-10Add rsplit_array variants to slices and arraysJethro Beekman-0/+78
2021-12-04Swap body of array::IntoIter::new and IntoIterator::new.Mara Bos-21/+0
2021-12-04Update stabilization version of try_from_mut_slice_to_arrayMara Bos-1/+1
2021-12-04Make `Borrow` and `BorrowMut` impls `const`woppopo-2/+4
2021-12-02Make array::{try_from_fn, try_map} and Iterator::try_find generic over TryScott McMurray-32/+84
2021-11-30Apply cfg-bootstrap switchMark Rousskov-5/+0
2021-11-21Reborrow mut slice instead of converting it with `as_ref`Linda_pp-1/+1
2021-11-20Update version in `stable` attributeLinda_pp-1/+1
2021-11-20Implement `TryFrom<&'_ mut [T]>` for `[T; N]`rhysd-0/+12
2021-11-10Moar #[inline]Scott McMurray-0/+2
2021-11-09Specialize array cloning for Copy typesScott McMurray-3/+22
2021-11-08Attempt to address perf regressions with #[inline]bstrie-2/+4
2021-11-08impl Copy/Clone for arrays in std, not in compilerbstrie-0/+18
2021-10-24Rollup merge of #90162 - WaffleLapkin:const_array_slice_from_ref_mut, r=oli-obkMatthias Krüger-2/+4
2021-10-23Fill tracking issue for `const_slice_from_ref` and `const_array_from_ref`Maybe Waffle-2/+2
2021-10-22Mark {array,slice}::{from_ref,from_mut} as const fnMaybe Waffle-2/+4
2021-10-22Implement split_array and split_array_mutJethro Beekman-0/+78
2021-10-18Make more `From` impls `const`woppopo-1/+2
2021-10-09Rollup merge of #75644 - c410-f3r:array, r=yaahcGuillaume Gomez-17/+103
2021-10-03Rollup merge of #88353 - jhpratt:stabilize-array-as-ref, r=joshtriplettManish Goregaokar-3/+3
2021-09-30Remove an unnecessary use of unwrap_uncheckedFrank Steffahn-4/+7
2021-09-30Improve previous commitFrank Steffahn-6/+5
2021-09-30Use reference instead of raw pointerCaio-7/+7
2021-09-30Add 'core::array::from_fn' and 'core::array::try_from_fn'Caio-7/+91
2021-09-05Auto merge of #88469 - patrick-gu:master, r=dtolnaybors-1/+1
2021-09-03Remove excessive linkingpatrick-gu-3/+3
2021-08-30use `unwrap_unchecked` where possibleibraheemdev-5/+2
2021-08-29Add links in docs for some primitive typespatrick-gu-4/+4
2021-08-26Partially stabilize `array_methods`Jacob Pratt-3/+3
2021-08-17Constified `Default` implementationsDeadbeef-1/+2
2021-07-30Add docs about performance and `Iterator::map` to `[T; N]::map`Lukas Kalbertodt-0/+22
2021-07-15Stabilize `[T; N]::map()`inquisitivecrystal-3/+2
2021-07-08Move the `PartialEq` and `Eq` impls for arrays to a separate fileScott McMurray-112/+1
2021-06-24Use `hash_one` to simplify some other doctestsScott McMurray-8/+3
2021-06-17Rollup merge of #86140 - scottmcm:array-hash-facepalm, r=kennytmYuki Okushi-0/+17
2021-06-08Mention the Borrow guarantee on the Hash implementations for Array and VecScott McMurray-0/+17
2021-06-02Replace IntoIter::new with IntoIterator::into_iter in stdMuhammad Mominul Huque-2/+2
2021-05-24remove cfg(bootstrap)Pietro Albini-1/+0
2021-05-23Update std::array module doc headerbstrie-3/+1
2021-04-25Auto merge of #84147 - cuviper:array-method-dispatch, r=nikomatsakis,m-ou-sebors-0/+22
2021-04-25Rollup merge of #84105 - WaffleLapkin:stabilize_array_from_ref, r=m-ou-seYuki Okushi-2/+2