about summary refs log tree commit diff
path: root/library/std/src/collections/hash/set.rs
AgeCommit message (Expand)AuthorLines
2023-03-20Remove outdated commentsMaybe Waffle-7/+0
2023-01-07docs: make `HashSet::retain` doctest more clearEzra Shaw-1/+1
2022-10-29fix typo in hashmap and hashset try_reserve methodjoseLuís-1/+1
2022-10-02Make Hash{Set,Map}::with_hasher unstably constNixon Enraght-Moony-1/+2
2022-09-02Fix `std::collections::HashSet::drain` documentationWojciech Kordalski-1/+1
2022-06-19Fix documentation for with_capacity and reserve families of methodsjmaargh-9/+16
2022-06-06Apply suggestions from code reviewnzrq-2/+3
2022-06-04Update library/std/src/collections/hash/set.rsnzrq-1/+1
2022-06-03Update set.rsnzrq-6/+4
2022-06-03Add note to documentation of HashSet::intersectionnzrq-0/+7
2022-05-31Tweak insert docsAriel Davis-2/+3
2022-05-23Put a bound on collection misbehaviorChristopher Durham-7/+8
2022-05-20Add complexity estimation of iterating over HashSet and HashMapAngelicosPhosphoros-0/+10
2022-05-09Use Rust 2021 prelude in std itself.Mara Bos-1/+1
2022-03-11Rollup merge of #94826 - allgoewer:fix-retain-documentation, r=yaahcDylan DPC-1/+1
2022-03-11Improve doc wording for retain on some collectionsMaik Allgöwer-1/+1
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-9/+9
2022-02-25Switch bootstrap cfgsMark Rousskov-10/+10
2022-02-19Collections: improve the documentation of drain membersStein Somers-1/+6
2022-02-01add a rustc::query_stability lintlcnr-0/+10
2021-12-11Remove unnecessary bounds for some Hash{Map,Set} methodsXidorn Quan-22/+22
2021-12-09Replace iterator-based set construction by *Set::From<[T; N]>Júnior Bassani-38/+37
2021-12-04Use IntoIterator for array impl everywhere.Mara Bos-1/+1
2021-10-31Rollup merge of #89835 - jkugelman:must-use-expensive-computations, r=joshtri...Matthias Krüger-0/+8
2021-10-28Revert "Add rustc lint, warning when iterating over hashmaps"Mark Rousskov-10/+0
2021-10-24Rollup merge of #89558 - lcnr:query-stable-lint, r=estebankMatthias Krüger-0/+10
2021-10-21Clarify undefined behaviour for binary heap, btree and hashsetWilfred Hughes-2/+2
2021-10-15add a `rustc::query_stability` lintlcnr-0/+10
2021-10-12Add #[must_use] to expensive computationsJohn Kugelman-0/+8
2021-10-10Add #[must_use] to core and std constructorsJohn Kugelman-0/+2
2021-10-04Stabilize try_reserveKornel-2/+1
2021-10-02Make diangostic item names consistentCameron Steffen-1/+1
2021-09-16Add IntoIterator intra doc link to various collectionsest31-1/+2
2021-08-08Auto merge of #86879 - YohDeadfall:stabilize-vec-shrink-to, r=dtolnaybors-2/+1
2021-08-08Bump shrink_to stabilization to Rust 1.56David Tolnay-1/+1
2021-07-24Auto merge of #84111 - bstrie:hashfrom, r=joshtriplettbors-4/+33
2021-07-24Update std_collections_from_array stability versionbstrie-1/+1
2021-07-24Rollup merge of #86790 - janikrabe:retain-iter-order-doc, r=m-ou-seYuki Okushi-0/+1
2021-07-06Stabilize Vec<T>::shrink_toYoh Deadfall-2/+1
2021-07-01Document iteration order of `retain` functionsJanik Rabe-0/+1
2021-06-30impl From<[(K, V); N]> for std::collectionsbstrie-4/+33
2021-06-30Remove "length" doc aliasesAmanieu d'Antras-1/+0
2021-06-30Remove "delete" doc aliasesAmanieu d'Antras-1/+0
2021-04-21Replace all `fmt.pad` with `debug_struct`Christiaan Dirkx-1/+1
2021-02-23Add more links between hash and btree collectionsJoshua Nelson-1/+2
2021-01-31Add doc aliases for "delete"Konrad Borowski-0/+1
2021-01-26shrink_to shouldn't panic on len greater than capacityThom Wiggers-3/+1
2021-01-16Clarify what the effects of a 'logic error' areChris Jefferson-1/+3
2020-12-28Add "length" as doc alias to len methodsKonrad Borowski-0/+1
2020-12-26Use the hashbrown::{HashMap,HashSet} `clone_from` impls.David Adler-1/+17