about summary refs log tree commit diff
path: root/library/alloc/src/collections/vec_deque/mod.rs
AgeCommit message (Expand)AuthorLines
2025-09-25Remove most `#[track_caller]` from allocating Vec methodsNoratrieb-27/+0
2025-09-20docs: improve doc of some methods w/ rangestk-6/+6
2025-07-30Implement push_mutBalt-11/+85
2025-05-21std: fix doctest and explain for as_slices and as_mut_slices in VecDequexizheyin-5/+28
2025-05-05Implement `VecDeque::truncate_front()`Vladimir Krivopalov-0/+67
2025-03-07Fully test the alloc crate through alloctestsbjorn3-0/+1
2025-01-25[Clippy] Add vec_reserve & vecdeque_reserve diagnostic itemswowinter13-0/+1
2025-01-22Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`Pavel Grigorenko-0/+46
2024-12-14Add clarity to the "greater" of `VecDeque::insert`tkirishima-1/+1
2024-12-14Replace i32 by char to add claritytkirishima-9/+12
2024-10-16Fix predicate signatures in retain_mut docsCollin O'Connor-1/+1
2024-10-14Auto merge of #126557 - GrigorenkoPV:vec_track_caller, r=joboetbors-0/+24
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-20Add `#[track_caller]` to allocating methods of `Vec` & `VecDeque`Pavel Grigorenko-0/+24
2024-09-18[Clippy] Swap `manual_retain` to use diagnostic items instead of pathsGnomedDev-0/+1
2024-09-08add FIXME(const-hack)Ralf Jung-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-8/+4
2024-07-07Specialize `TrustedLen` for `Iterator::unzip()`Chayim Refael Friedman-0/+30
2024-05-07Fix `VecDeque::shrink_to` UB when `handle_alloc_error` unwinds.Markus Everling-1/+65
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-15Fix typo in VecDeque::handle_capacity_increase() doc comment.Johannes Lade-4/+4
2023-12-21fix minor mistake in comments describing VecDeque resizingKent Ross-4/+4
2023-09-16edit `std::collections::VecDeque` docsmxnkarou-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-12remove some unneeded importsKaDiWa-1/+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
2023-03-29enhanced documentation of binary search methods for slice and VecDeque for un...jofas-7/+10
2023-03-11Rollup merge of #106276 - Sp00ph:unify_slice_ranges, r=the8472Matthias Krüger-9/+18
2023-03-01Rollup merge of #108462 - pommicket:fix-vecdeque-zst-overflow, r=AmanieuDylan DPC-1/+1
2023-02-26Disambiguate commentsMarkus Everling-2/+2
2023-02-26Fix `VecDeque::shrink_to` and add tests.Markus Everling-55/+62
2023-02-25Use checked_add in VecDeque::append for ZSTs to avoid overflowpommicket-1/+1
2023-02-20Changes according to reviewMarkus Everling-5/+4
2023-02-05Add `slice_ranges` safety commentMarkus Everling-0/+8
2023-01-31Fix `vec_deque::Drain` FIXMEMarkus Everling-8/+10
2023-01-25Set version placeholders to 1.68Mark Rousskov-1/+1
2023-01-08Rollup merge of #106562 - clubby789:vec-deque-example, r=Mark-SimulacrumYuki Okushi-1/+3