summary refs log tree commit diff
path: root/library/alloc/src/collections/vec_deque
AgeCommit message (Expand)AuthorLines
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-5/+4
2024-09-20Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errorsbors-0/+3
2024-09-18[Clippy] Swap `manual_retain` to use diagnostic items instead of pathsGnomedDev-0/+1
2024-09-13Update tests for hidden references to mutable staticObei Sideg-0/+3
2024-09-12Rollup merge of #130101 - RalfJung:const-cleanup, r=fee1-deadMatthias Krüger-2/+2
2024-09-08add FIXME(const-hack)Ralf Jung-2/+2
2024-09-08Remove needless returns detected by clippy in librariesEduardo Sánchez Muñoz-4/+4
2024-09-05update cfgsBoxy-4/+0
2024-09-03replace placeholder versionBoxy-2/+2
2024-08-10Stabilize `min_exhaustive_patterns`Nadrieril-0/+2
2024-08-07Rollup merge of #128261 - clarfonthey:iter-default, r=dtolnayMatthias Krüger-0/+28
2024-07-29Reformat `use` declarations.Nicholas Nethercote-15/+11
2024-07-27Okay, I guess I have to give these a different feature nameltdk-2/+2
2024-07-27impl Default for collection iterators that don't already have itltdk-0/+28
2024-07-07Specialize `TrustedLen` for `Iterator::unzip()`Chayim Refael Friedman-11/+32
2024-06-24Replace `MaybeUninit::uninit_array()` with array repeat expression.Kevin Reid-1/+1
2024-05-07Move `test_shrink_to_unwind` to its own file.Markus Everling-54/+1
2024-05-07Fix `VecDeque::shrink_to` UB when `handle_alloc_error` unwinds.Markus Everling-2/+119
2024-04-17Rollup merge of #122201 - coolreader18:doc-clone_from, r=dtolnayMatthias Krüger-2/+6
2024-04-17Address commentsNoa-3/+1
2024-04-08Add invariant to VecDeque::pop_* that len < cap if pop successfulPhilippe-Cholet-2/+8
2024-04-02Auto merge of #122945 - andy-k:sorted-vec-example, r=jhprattbors-2/+4
2024-03-28Rename reserve_for_push to grow_one and fix comment.Cai Bear-1/+1
2024-03-28Fix previous.Cai Bear-1/+2
2024-03-28Remove len argument from RawVec::reserve_for_push because it's always equal t...Cai Bear-3/+2
2024-03-24clarify equivalency of binary_search and partition_pointAndy Kurnia-1/+3
2024-03-23improve example on inserting to a sorted vector to avoid shifting equal elementsAndy Kurnia-1/+1
2024-03-08Document overrides of `clone_from()`Noa-2/+8
2024-03-01try_with_capacity for Vec, VecDeque, StringKornel-0/+24
2024-02-22Add `rustc_confusables` annotations to some stdlib APIsEsteban Küber-0/+5
2024-02-18Auto merge of #118264 - lukas-code:optimized-draining, r=the8472bors-56/+114
2024-02-17Rollup merge of #121149 - SebastianJL:patch-1, r=Mark-SimulacrumMatthias Krüger-4/+4
2024-02-16address review commentsLukas Markeffsky-44/+99
2024-02-16outline large copiesLukas Markeffsky-7/+20
2024-02-16reduce branchinessLukas Markeffsky-31/+22
2024-02-16reduce amount of mathLukas Markeffsky-14/+12
2024-02-16simplify codegen for trivially droppable typesLukas Markeffsky-2/+3
2024-02-15Fix typo in VecDeque::handle_capacity_increase() doc comment.Johannes Lade-4/+4
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-2/+2
2024-02-15Use generic `NonZero` internally.Markus Reiter-11/+11
2024-01-02Adjust library tests for unused_tuple_struct_fields -> dead_codeJake Goulding-1/+1
2023-12-21fix minor mistake in comments describing VecDeque resizingKent Ross-4/+4
2023-09-16edit `std::collections::VecDeque` docsmxnkarou-2/+2
2023-07-13Fix VecDeque's rotate_left and rotate_right panic testsPedro Lobo-2/+2
2023-07-13Rename VecDeque's rotate_left and rotate_right parametersPedro Lobo-23/+23
2023-04-28Make sure that signatures aren't accidental refinementsMichael Goulet-1/+1
2023-04-26Spelling library/Josh Soref-1/+1
2023-04-12remove some unneeded importsKaDiWa-2/+1
2023-03-30Rollup merge of #106985 - jofas:106746-fix, r=ChrisDentonYuki Okushi-10/+10
2023-03-30removed deprecated markdown links from documentationjofas-3/+0