summary refs log tree commit diff
path: root/library/std/src/collections/hash/map.rs
AgeCommit message (Expand)AuthorLines
2025-01-07update version placeholdersPietro Albini-1/+1
2024-12-22Specify only that duplicates are discarded, not the order.Kevin Reid-3/+3
2024-12-21Document collection `From` and `FromIterator` impls that drop duplicate keys.Kevin Reid-0/+9
2024-12-03./x miri: fix sysroot buildRalf Jung-2/+2
2024-12-02stabilize const_collections_with_hasher and build_hasher_default_const_newRalf Jung-1/+23
2024-11-28Also use zero when referencing to capacity or lengthtimvisee-2/+2
2024-11-18Improve `{BTreeMap,HashMap}::get_key_value` docs.Nicholas Nethercote-4/+36
2024-10-15replace placeholder versionJosh Stone-10/+10
2024-10-02impl Default for Hash{Map,Set} iterators that don't already have itltdk-0/+64
2024-10-02Update hashbrown to 0.15 and adjust some methodsUrgau-82/+55
2024-09-19[Clippy] Swap `iter_over_hash_type` to use diagnostic items instead of pathsGnomedDev-0/+6
2024-09-19[Clippy] Swap `map_entry` to use diagnostic items instead of pathsGnomedDev-0/+2
2024-09-13Stabilize entry_insertFélix Saparelli-4/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+2
2024-07-14std: Unsafe-wrap HashMap::get_many_unchecked_mutJubilee Young-3/+1
2024-07-14std: deny(unsafe_op_in_unsafe_fn) but allow sitesJubilee Young-0/+2
2024-06-03Fix typo in the docs of `HashMap::raw_entry_mut`Tim Kurdov-1/+1
2024-04-17Rollup merge of #122201 - coolreader18:doc-clone_from, r=dtolnayMatthias Krüger-2/+2
2024-03-19Add "put" as a confusable for insert on hash map/setSky-1/+1
2024-03-08Document overrides of `clone_from()`Noa-2/+2
2024-02-22Add `rustc_confusables` annotations to some stdlib APIsEsteban Küber-0/+2
2024-01-30add missing potential_query_instability for keys and values in hashmapyukang-0/+3
2023-12-04Specialize `count` tooBenoît du Garreau-0/+32
2023-12-04`HashMap`/`HashSet`: forward `fold` implementations of iteratorsBenoît du Garreau-0/+72
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-150/+1
2023-10-20s/generator/coroutine/Oli Scherer-1/+1
2023-08-07Increase clarity about Hash - Eq consistency in HashMap and HashSet docsEasyoakland-2/+4
2023-06-29make HashMap::or_insert_with example more simpleTshepang Mbambo-4/+4
2023-06-14update hashbrown and replace Hash{Set,Map}::DrainFilter with ExtractIfThe 8472-26/+26
2023-04-16rm const traits in libcoreDeadbeef-4/+2
2023-04-12remove some unneeded importsKaDiWa-1/+0
2023-02-05Fix typo in HashMap::with_capacityKiran Shila-1/+1
2022-11-06Added `const_hash` tracking issue idonestacked-3/+3
2022-11-06Made `Sip` const `Hasher`onestacked-3/+6
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-26remove cfg(bootstrap)Pietro Albini-2/+0
2022-08-22Move error trait into coreJane Losare-Lusby-0/+11
2022-06-23Rollup merge of #96173 - jmaargh:jmaargh/with-capacity-doc-fix, r=Dylan-DPCMichael Goulet-14/+21
2022-06-20Fix typo in `HashMap::drain` docsnils-1/+1
2022-06-19Fix documentation for with_capacity and reserve families of methodsjmaargh-14/+21
2022-06-15Add examples using `add_modify` to HashMapKarlWithK-2/+4
2022-06-13[perf] std: add missing `#[inline]` to `DefaultHasher::{new,default}`.Eduard-Mihai Burtescu-0/+2
2022-06-01Rollup merge of #94647 - Urgau:hash-map-many-mut, r=AmanieuYuki Okushi-0/+113
2022-06-01Expose get_many_mut and get_many_unchecked_mut to HashMapLoïc BRANSTETT-0/+113
2022-05-23Put a bound on collection misbehaviorChristopher Durham-1/+2
2022-05-20Add complexity estimation of iterating over HashSet and HashMapAngelicosPhosphoros-0/+40
2022-05-09Use Rust 2021 prelude in std itself.Mara Bos-1/+1
2022-05-06Add a dedicated length-prefixing method to `Hasher`Scott McMurray-0/+8