summary refs log tree commit diff
path: root/library/alloc/src/collections/linked_list.rs
AgeCommit message (Expand)AuthorLines
2023-12-09Auto merge of #114136 - TennyZhuang:linked-list-retain, r=thomccbors-0/+93
2023-07-30Avoid using ptr::Unique in LinkedList codeRyan Lowe-11/+13
2023-07-28add LinkedList::{retain,retain_mut}TennyZhuang-0/+93
2023-06-14s/drain_filter/extract_if/ for Vec, Btree{Map,Set} and LinkedListThe 8472-16/+16
2023-06-14remove drain-on-drop behavior from linked_list::DrainFilter and add #[must_use]The 8472-27/+5
2023-04-28replace version placeholdersPietro Albini-3/+3
2023-04-25Auto merge of #103093 - rytheo:linked-list-alloc-api, r=Mark-Simulacrumbors-135/+224
2023-04-24Add support for allocators in LinkedListRyan Lowe-135/+224
2023-04-12remove some unneeded importsKaDiWa-2/+1
2023-02-28rewrite iterator `Default` tests as doctestsThe 8472-0/+14
2023-02-28Implement Default for some alloc/core iteratorsThe 8472-0/+21
2022-10-14more dupe word typosRageking8-1/+1
2022-08-31Fix a bunch of typoDezhi Wu-1/+1
2022-05-29Use Box::new() instead of box syntax in alloc testsest31-2/+2
2022-05-06Add a dedicated length-prefixing method to `Hasher`Scott McMurray-1/+1
2022-02-19Fix some confusing wording and improve slice-search-related docsr00ster91-5/+5
2022-02-17Rollup merge of #89869 - kpreid:from-doc, r=yaahcMatthias Krüger-0/+2
2021-12-10Fix since attribute for const_linked_list_new featureMartin Fischer-1/+1
2021-12-04Use IntoIterator for array impl everywhere.Mara Bos-1/+1
2021-12-04Add documentation to more `From::from` implementations.Kevin Reid-0/+2
2021-10-31Rollup merge of #89786 - jkugelman:must-use-len-and-is_empty, r=joshtriplettMatthias Krüger-0/+2
2021-10-30Add #[must_use] to len and is_emptyJohn Kugelman-0/+2
2021-10-15Add #[must_use] to remaining alloc functionsJohn Kugelman-0/+21
2021-10-12Rollup merge of #89778 - jkugelman:must-use-as_type-conversions, r=joshtriplettthe8472-0/+1
2021-10-11Add #[must_use] to as_type conversionsJohn Kugelman-0/+1
2021-10-10Add #[must_use] to alloc constructorsJohn Kugelman-0/+1
2021-09-26Auto merge of #89144 - sexxi-goose:insig_stdlib, r=nikomatsakisbors-0/+1
2021-09-25Rollup merge of #89010 - est31:intra_doc_links, r=m-ou-seManish Goregaokar-2/+6
2021-09-24unitalicize O(1) complexitiesTakashi Idobe-4/+4
2021-09-23remove trailing whitespaceTakashi Idobe-4/+4
2021-09-23Add time complexities to linked_list.rsTakashi Idobe-0/+10
2021-09-22PR fixupAman Arora-1/+1
2021-09-212229: Annotate stdlib with insignficant dtorsAman Arora-0/+1
2021-09-16Add IntoIterator intra doc link to various collectionsest31-1/+2
2021-09-16Add intra-doc-links to LinkedList rustdocest31-1/+4
2021-08-31add safety annotation to `LinkedList::detach_all_nodes`Ibraheem Ahmed-0/+3
2021-08-30use `unwrap_unchecked` where possibleibraheemdev-1/+1
2021-07-24Auto merge of #84111 - bstrie:hashfrom, r=joshtriplettbors-0/+21
2021-07-24Update std_collections_from_array stability versionbstrie-1/+1
2021-07-06Rollup merge of #86852 - Amanieu:remove_doc_aliases, r=joshtriplettYuki Okushi-1/+0
2021-07-01Implement changes suggested by @AmanieuIan Wahbe-10/+17
2021-06-30impl From<[(K, V); N]> for std::collectionsbstrie-0/+21
2021-06-30Remove "length" doc aliasesAmanieu d'Antras-1/+0
2021-06-29Add non-mutable methods to `Cursor`Ian Wahbe-0/+14
2021-06-29add head/tail methods to linked list mutable cursorIan Wahbe-0/+122
2021-05-30Improve Debug impls for LinkedList reference iterators to show itemsFrank Steffahn-2/+18
2021-05-29Fix unsoundness of Debug implementation for linked_list::IterMutFrank Steffahn-6/+3
2021-05-21Remove surplus prepend LinkedList fnJubilee Young-21/+0
2021-03-01Add diagnostic itemsCameron Steffen-0/+1
2020-12-28Add "length" as doc alias to len methodsKonrad Borowski-0/+1