about summary refs log tree commit diff
path: root/library/alloc/tests/vec.rs
AgeCommit message (Expand)AuthorLines
2025-01-24Remove a bunch of emscripten test ignoresbjorn3-4/+0
2025-01-10alloc: remove unsound `IsZero` for raw pointersjoboet-0/+10
2025-01-04add regression test for unsound Flatten/FlatMap specializationThe 8472-0/+14
2025-01-04do not in-place-iterate over flatmap/flattenThe 8472-19/+6
2024-12-16Add a range argument to vec.extract_ifThe 8472-12/+37
2024-10-15update bootstrap configsJosh Stone-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-13Update tests for hidden references to mutable staticObei Sideg-0/+5
2024-08-28Re-enable android tests/benches in allocBen Kimock-3/+0
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+3
2024-03-26Implement `Vec::pop_if`Alex van de Sandt-0/+30
2024-03-20Add usize::MAX arg tests for VecJubilee Young-0/+41
2024-03-01try_with_capacity for Vec, VecDeque, StringKornel-0/+12
2024-02-21rename ptr::invalid -> ptr::without_provenanceRalf Jung-1/+1
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-3/+3
2024-02-15Use generic `NonZero` internally.Markus Reiter-4/+4
2024-01-26Rollup merge of #119917 - Zalathar:split-off, r=cuviperMatthias Krüger-6/+18
2024-01-21Auto merge of #85528 - the8472:iter-markers, r=dtolnaybors-2/+6
2024-01-13Remove special-case handling of `vec.split_off(0)`Zalathar-6/+18
2024-01-11apply fmtklensy-7/+3
2024-01-10Implement in-place iteratation markers for iter::{Copied, Cloned}The8472-2/+6
2024-01-02Adjust library tests for unused_tuple_struct_fields -> dead_codeJake Goulding-3/+3
2023-12-11Auto merge of #117758 - Urgau:lint_pointer_trait_comparisons, r=davidtwcobors-1/+1
2023-12-10remove redundant importssurechen-2/+0
2023-12-06Adjust tests for newly added ambiguous_wide_pointer_comparisons lintUrgau-1/+1
2023-12-05Fix in-place collect not reallocating when necessaryThe 8472-0/+8
2023-11-28Auto merge of #110353 - the8472:in-place-flatten-chunks, r=cuviperbors-2/+43
2023-09-28Auto merge of #111278 - EFanZh:implement-from-array-refs-for-vec, r=dtolnaybors-0/+10
2023-09-03support in-place collecting additional FlatMap shapesThe 8472-0/+11
2023-09-03Expand in-place iteration specialization to Flatten, FlatMap and ArrayChunksThe 8472-2/+32
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