summary refs log tree commit diff
path: root/library/alloc/tests/vec_deque.rs
AgeCommit message (Collapse)AuthorLines
2022-09-19Revert "Auto merge of #95295 - CAD97:layout-isize, r=scottmcm"Pietro Albini-52/+109
This reverts commit 4ec97d991b1bd86dc89fee761d79ac8e85239a08, reversing changes made to 95e77648e466c780a9adce2fa3d3eb5e423dc04e.
2022-03-25Adjust tests for isize::MAX allocation always being checkedCAD97-109/+52
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-2/+2
This updates the standard library's documentation to use the new syntax. The documentation is worthwhile to update as it should be more idiomatic (particularly for features like this, which are nice for users to get acquainted with). The general codebase is likely more hassle than benefit to update: it'll hurt git blame, and generally updates can be done by folks updating the code if (and when) that makes things more readable with the new format. A few places in the compiler and library code are updated (mostly just due to already having been done when this commit was first authored).
2022-01-09eplace usages of vec![].into_iter with [].into_iterLucas Kent-6/+6
2021-08-07Use assert_matches! instead of if let {} elseKornel-99/+92
2021-07-24Hide allocator details from TryReserveErrorKornel-31/+69
2021-04-15VecDeque: Add partition_point() #78021Vojtech Kral-0/+18
2020-12-13replace assert! with assert_eq!Justus K-1/+1
2020-12-13fix panic if converting ZST Vec to VecDequeJustus K-0/+7
2020-10-17Rebase conflictsAlexis Bourget-0/+30
2020-10-09liballoc: VecDeque: Add binary search functionsVojtech Kral-0/+39
2020-09-04Add tests for overflow in String / VecDeque operations using rangesTomasz Miąsko-0/+15
2020-07-27mv std libs to library/mark-0/+1646