summary refs log tree commit diff
path: root/library/std/src/collections/hash/set.rs
AgeCommit message (Expand)AuthorLines
2024-02-22Add `rustc_confusables` annotations to some stdlib APIsEsteban Küber-0/+3
2023-12-04Specialize `count` tooBenoît du Garreau-0/+12
2023-12-04`HashMap`/`HashSet`: forward `fold` implementations of iteratorsBenoît du Garreau-0/+58
2023-11-02Add insta-stable std::hash::{DefaultHasher, RandomState} exportsltdk-3/+3
2023-11-02Move RandomState and DefaultHasher into std::hash, but don't export for nowltdk-2/+2
2023-10-07Auto merge of #109214 - tosti007:std_collection_hash_new_rework, r=workingjub...bors-1/+1
2023-08-07Increase clarity about Hash - Eq consistency in HashMap and HashSet docsEasyoakland-3/+4
2023-07-12avoid ambiguous wordTshepang Mbambo-1/+1
2023-07-12update ancient noteTshepang Mbambo-2/+2
2023-06-15Auto merge of #104455 - the8472:dont-drain-on-drop, r=Amanieubors-25/+24
2023-06-14Rollup merge of #107619 - stepancheg:hash-set-insert, r=AmanieuMatthias Krüger-1/+3
2023-06-14update hashbrown and replace Hash{Set,Map}::DrainFilter with ExtractIfThe 8472-25/+24
2023-04-12remove some unneeded importsKaDiWa-1/+0
2023-03-29Use with_capacity_and_hasher instead of using basetosti007-1/+1
2023-03-20Remove outdated commentsMaybe Waffle-7/+0
2023-02-03Specify behavior of HashSet::insertStiopa Koltsov-1/+3
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