about summary refs log tree commit diff
path: root/library/alloc/tests/vec.rs
AgeCommit message (Expand)AuthorLines
2023-09-28Auto merge of #111278 - EFanZh:implement-from-array-refs-for-vec, r=dtolnaybors-0/+10
2023-08-23Bump cfg(bootstrap)Mark Rousskov-1/+0
2023-07-16Implement `From<{&,&mut} [T; N]>` for `Vec<T>`EFanZh-0/+10
2023-07-14Auto merge of #113113 - Amanieu:box-vec-zst, r=Mark-Simulacrumbors-0/+65
2023-07-13Eliminate ZST allocations in `Box` and `Vec`Amanieu d'Antras-0/+65
2023-07-03enable test_join test in MiriRalf Jung-0/+1
2023-06-14s/drain_filter/extract_if/ for Vec, Btree{Map,Set} and LinkedListThe 8472-22/+22
2023-06-14remove drain-on-drop behavior from vec::DrainFilter and add #[must_use]The 8472-30/+1
2023-06-13ignore core, alloc and test tests that require unwinding on panic=abortPietro Albini-0/+11
2023-04-26Spelling library/Josh Soref-1/+1
2023-03-27replace advance_by returning usize with Result<(), NonZeroUsize>The 8472-9/+10
2023-03-27Change advance(_back)_by to return `usize` instead of `Result<(), usize>`The 8472-10/+11
2023-01-14Remove various double spaces in source comments.André Vennberg-1/+1
2022-12-24add lib tests for vec::IntoIter alignment issuesRalf Jung-2/+27
2022-11-23Add `#![deny(unsafe_op_in_unsafe_fn)]` in liballoc testsThom Chiovoloni-1/+2
2022-10-04Rollup merge of #101642 - SkiFire13:fix-inplace-collection-leak, r=the8472Dylan DPC-30/+35
2022-09-10Update testGiacomo Stevanato-33/+34
2022-09-10Adapt inplace collection leak test to check for no leaksGiacomo Stevanato-16/+20
2022-08-31fix into_iter on ZSTRalf Jung-0/+6
2022-08-30Rollup merge of #95376 - WaffleLapkin:drain_keep_rest, r=dtolnayDylan DPC-0/+59
2022-08-22Rollup merge of #99386 - AngelicosPhosphoros:add_retain_test_maybeuninit, r=J...Dylan DPC-0/+45
2022-07-27Auto merge of #98553 - the8472:next_chunk_opt, r=Mark-Simulacrumbors-0/+10
2022-07-26add test for vec::IntoIter::next_chunk() implThe 8472-0/+10
2022-07-17Add tests that check `Vec::retain` predicate execution order.AngelicosPhosphoros-0/+45
2022-07-10Auto merge of #95295 - CAD97:layout-isize, r=scottmcmbors-114/+52
2022-06-19Fix documentation for with_capacity and reserve families of methodsjmaargh-0/+9
2022-06-05Add vec::Drain{,Filter}::keep_restMaybe Waffle-0/+59
2022-05-29Use Box::new() instead of box syntax in alloc testsest31-5/+5
2022-04-08add `<[[T; N]]>::flatten`, `<[[T; N]]>::flatten_mut`, and `Vec::<[T; N]>::int...Cyborus04-0/+7
2022-03-25Add another assertion without into_iterJörn Horstmann-2/+6
2022-03-25Add a test verifying the number of drop callsJörn Horstmann-0/+24
2022-03-25Adjust tests for isize::MAX allocation always being checkedCAD97-114/+52
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-3/+3
2022-01-09eplace usages of vec![].into_iter with [].into_iterLucas Kent-8/+8
2021-11-19Fix Iterator::advance_by contract inconsistencyThe8472-0/+3
2021-09-30implement advance_(back_)_by on more iteratorsThe8472-0/+18
2021-08-07Use assert_matches! instead of if let {} elseKornel-113/+103
2021-07-24Hide allocator details from TryReserveErrorKornel-33/+76
2021-06-18Lint for unused borrows as part of UNUSED_MUST_USEhi-rustin-5/+5
2021-06-02Update expressions where we can use array's IntoIterator implementationMuhammad Mominul Huque-5/+5
2021-05-24Make Vec::dedup panicking test actually detect double panicsGiacomo Stevanato-23/+25
2021-05-19from review: more robust testthe8472-2/+2
2021-05-19add regression testThe8472-0/+12
2021-05-19remove InPlaceIterable marker from Peekable due to unsoundnessThe8472-1/+0
2021-04-04Rollup merge of #83827 - the8472:fix-inplace-panic-on-drop, r=RalfJungDylan DPC-1/+10
2021-04-04Rollup merge of #81619 - SkiFire13:resultshunt-inplace, r=the8472Dylan DPC-2/+2
2021-04-04suggestion from reviewthe8472-1/+1
2021-04-04cleanup leak after test to make miri happyThe8472-1/+10
2021-03-29add testcase for double-drop during Vec in-place collectionThe8472-1/+37
2021-03-16Vec::dedup optimization - add benchesSoveu-1/+1