summaryrefslogtreecommitdiff
path: root/library/alloc/tests
Commit message (Expand)AuthorAgeFilesLines
* Rollup merge of #110419 - jsoref:spelling-library, r=jyn514Matthias Krüger2023-04-262-22/+22
|\
| * Spelling library/Josh Soref2023-04-262-22/+22
* | fix library and rustdoc testsDeadbeef2023-04-162-10/+11
* | rm const traits in libcoreDeadbeef2023-04-161-1/+1
|/
* Auto merge of #109701 - Amanieu:binaryheap_retain, r=ChrisDentonbors2023-04-021-1/+0
|\
| * Stabilize `binary_heap_retain`Amanieu d'Antras2023-03-281-1/+0
* | Auto merge of #105587 - tgross35:once-cell-min, r=m-ou-sebors2023-03-301-1/+0
|\ \
| * | Stabilize a portion of 'once_cell'Trevor Gross2023-03-291-1/+0
* | | Rollup merge of #109693 - workingjubilee:maybe-unconstify-alloc, r=fee1-deadMatthias Krüger2023-03-292-16/+0
|\ \ \ | |/ / |/| |
| * | Remove ~const from allocJubilee Young2023-03-282-16/+0
| |/
* | Rollup merge of #92284 - the8472:simplify-advance-by, r=scottmcmnils2023-03-282-10/+35
|\ \ | |/ |/|
| * fix advance_by impl for vec_deque and add testsThe 84722023-03-271-0/+23
| * replace advance_by returning usize with Result<(), NonZeroUsize>The 84722023-03-271-9/+10
| * Change advance(_back)_by to return `usize` instead of `Result<(), usize>`The 84722023-03-271-10/+11
* | Rollup merge of #97506 - JohnTitor:stabilize-nonnull-slice-from-raw-parts, r=...Matthias Krüger2023-03-271-2/+1
|\ \ | |/ |/|
| * Stabilize `nonnull_slice_from_raw_parts`Yuki Okushi2022-09-291-2/+1
* | Rollup merge of #100311 - xfix:lines-fix-handling-of-bare-cr, r=ChrisDentonDylan DPC2023-03-231-7/+19
|\ \
| * | Fix handling of trailing bare CR in str::linesKonrad Borowski2022-10-061-7/+19
* | | Add test for VecDeque::append ZST capacity overflowpommicket2023-02-251-0/+14
* | | refactor[alloc]: remove unused box syntax featurejoboet2023-01-171-1/+0
* | | Remove various double spaces in source comments.André Vennberg2023-01-141-1/+1
* | | Update rand in the stdlib tests, and remove the getrandom feature from itThom Chiovoloni2023-01-041-348/+1
* | | Replace libstd, libcore, liballoc in line comments.jonathanCogan2022-12-301-1/+1
* | | add lib tests for vec::IntoIter alignment issuesRalf Jung2022-12-241-2/+27
* | | Apply review feedback; Fix no_global_oom_handling buildScott McMurray2022-12-081-3/+13
* | | Make `VecDeque::from_iter` O(1) from `vec(_deque)::IntoIter`Scott McMurray2022-12-081-0/+26
* | | Auto merge of #102991 - Sp00ph:master, r=scottmcmbors2022-11-281-6/+7
|\ \ \
| * | | Update VecDeque implementationMarkus Everling2022-11-201-6/+7
* | | | Add `#![deny(unsafe_op_in_unsafe_fn)]` in liballoc testsThom Chiovoloni2022-11-233-7/+38
* | | | Rollup merge of #104647 - RalfJung:alloc-strict-provenance, r=thomccManish Goregaokar2022-11-222-6/+8
|\ \ \ \
| * | | | enable fuzzy_provenance_casts lint in liballocRalf Jung2022-11-202-6/+8
* | | | | add test for issue 104726The 84722022-11-221-0/+12
| |/ / / |/| | |
* | | | Rollup merge of #104435 - scottmcm:iter-repeat-n, r=thomccYuki Okushi2022-11-201-0/+8
|\ \ \ \ | |/ / / |/| | |
| * | | `VecDeque::resize` should re-use the buffer in the passed-in elementScott McMurray2022-11-151-0/+8
* | | | Remove Vec/Rc storage reuse optclubby7892022-11-182-30/+0
* | | | Auto merge of #104205 - clubby789:grow-rc, r=thomccbors2022-11-172-0/+30
|\ \ \ \
| * | | | Add `Vec` storage optimization to `Arc` and add testsclubby7892022-11-142-0/+30
| |/ / /
* | | | generalize str.contains() tests to a range of haystack sizesThe 84722022-11-151-5/+21
|/ / /
* | | Add regression test for lifetimes in alloc internals autotraitsDavid Tolnay2022-10-052-0/+297
|/ /
* | Rollup merge of #101642 - SkiFire13:fix-inplace-collection-leak, r=the8472Dylan DPC2022-10-041-30/+35
|\ \ | |/ |/|
| * Update testGiacomo Stevanato2022-09-101-33/+34
| * Adapt inplace collection leak test to check for no leaksGiacomo Stevanato2022-09-101-16/+20
* | Rollup merge of #102232 - Urgau:stabilize-bench_black_box, r=TaKO8KiYuki Okushi2022-09-281-1/+0
|\ \
| * | Stabilize bench_black_boxUrgau2022-09-271-1/+0
* | | Stabilize const `BTree{Map,Set}::new`Nilstrieb2022-09-231-1/+1
|/ /
* | fix into_iter on ZSTRalf Jung2022-08-311-0/+6
* | Rollup merge of #95376 - WaffleLapkin:drain_keep_rest, r=dtolnayDylan DPC2022-08-302-0/+60
|\ \
| * | Add vec::Drain{,Filter}::keep_restMaybe Waffle2022-06-052-0/+60
* | | Rollup merge of #100820 - WaffleLapkin:use_ptr_is_aligned_methods, r=scottmcmDylan DPC2022-08-222-4/+5
|\ \ \
| * | | Make use of `pointer::is_aligned[_to]`Maybe Waffle2022-08-212-4/+5
| | |/ | |/|