about summary refs log tree commit diff
path: root/library/alloc/tests
AgeCommit message (Expand)AuthorLines
2022-07-15Stabilize `core::ffi::CStr`, `alloc::ffi::CString`, and friendsJosh Triplett-1/+0
2022-07-14Rollup merge of #98315 - joshtriplett:stabilize-core-ffi-c, r=Mark-SimulacrumDylan DPC-1/+0
2022-07-13Stabilize `core::ffi:c_*` and rexport in `std::ffi`Josh Triplett-1/+0
2022-07-10Auto merge of #95295 - CAD97:layout-isize, r=scottmcmbors-311/+142
2022-07-01Rollup merge of #98585 - cuviper:covariant-thinbox, r=thomccDylan DPC-0/+7
2022-06-27Make `ThinBox<T>` covariant in `T`Josh Stone-0/+7
2022-06-27liballoc tests: avoid int2ptr castRalf Jung-1/+1
2022-06-19Fix documentation for with_capacity and reserve families of methodsjmaargh-0/+9
2022-06-08Stabilize `const_intrinsic_copy`Yuki Okushi-1/+0
2022-06-05Add vec::Drain{,Filter}::keep_restMaybe Waffle-0/+60
2022-06-04Rollup merge of #96642 - thomcc:thinbox-zst-ugh, r=yaahcDylan DPC-0/+232
2022-05-29Use Box::new() instead of box syntax in alloc testsest31-12/+12
2022-05-27Avoid zero-sized allocs in ThinBox if T and H are both ZSTs.Thom Chiovoloni-0/+232
2022-05-26improve case conversion happy pathConrad Ludgate-0/+14
2022-05-02Rollup merge of #94126 - ssomers:alloc_prep_1, r=Mark-SimulacrumYuki Okushi-1173/+0
2022-04-27Remove use of reverted std::ffi::c_charJosh Triplett-1/+2
2022-04-14library: Use type aliases to make `CStr(ing)` in libcore/liballoc unstableVadim Petrochenkov-0/+1
2022-04-14library: Move `CStr` to libcore, and `CString` to liballocVadim Petrochenkov-0/+20
2022-04-11impl const Default for Box<[T]> and Box<str>Josh Stone-0/+6
2022-04-10thin_box test: import from std, not allocRalf Jung-1/+1
2022-04-08Add ThinBox type for 1 stack pointer sized heap allocated trait objectsJane Lusby-0/+28
2022-04-08add `<[[T; N]]>::flatten`, `<[[T; N]]>::flatten_mut`, and `Vec::<[T; N]>::int...Cyborus04-0/+8
2022-03-31make utf8_char_counts test faster in MiriRalf Jung-4/+7
2022-03-31Rollup merge of #95298 - jhorstmann:fix-double-drop-of-allocator-in-vec-into-...Dylan DPC-0/+28
2022-03-27Debug print char 0 as '\0' rather than '\u{0}'David Tolnay-2/+2
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-311/+142
2022-03-11Classify BinaryHeap & LinkedList unit tests as suchStein Somers-1173/+0
2022-03-10Rollup merge of #93950 - T-O-R-U-S:use-modern-formatting-for-format!-macros, ...Dylan DPC-32/+32
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-32/+32
2022-03-10Revert accidental stabilizationOli Scherer-1/+1
2022-02-13stabilize const_ptr_offsetSaltyKitkat-1/+0
2022-02-07Add {floor,ceil}_char_boundary methods to strltdk-0/+93
2022-02-05Ensure non-power-of-two sizes are tested in the Chars::count testThom Chiovoloni-2/+4
2022-02-05Optimize `core::str::Chars::count`Thom Chiovoloni-0/+40
2022-01-17Stabilize vec_spare_capacityAmanieu d'Antras-1/+0
2022-01-16Auto merge of #92598 - Badel2:panic-update-hook, r=yaahcbors-3/+3
2022-01-09eplace usages of vec![].into_iter with [].into_iterLucas Kent-29/+28
2022-01-08Change panic::update_hook to simplify usageBadel2-6/+4
2022-01-07Implement panic::update_hookBadel2-6/+8
2022-01-04Rollup merge of #91884 - woppopo:const_box, r=oli-obkMatthias Krüger-3/+123
2021-12-23Constify `Box<T, A>` methodswoppopo-3/+123
2021-12-23Rollup merge of #88858 - spektom:to_lower_upper_rev, r=dtolnayMatthias Krüger-0/+31
2021-12-15Rollup merge of #91916 - steffahn:fix-typos, r=dtolnayMatthias Krüger-2/+2
2021-12-14Rollup merge of #89825 - martinvonz:split-inclusive-empty, r=m-ou-seMatthias Krüger-4/+4
2021-12-14Fix a bunch of typosFrank Steffahn-2/+2
2021-11-19Fix Iterator::advance_by contract inconsistencyThe8472-0/+3
2021-11-18Make slice->str conversion and related functions constMaybe Waffle-3/+62
2021-10-30Add #[must_use] to remaining core functionsJohn Kugelman-1/+1