{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/31081","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/31081/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/31081/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/31081/events","html_url":"https://github.com/rust-lang/rust/pull/31081","id":127991774,"number":31081,"title":"std: Stabilize custom hasher support in HashMap","user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/beta-nominated","name":"beta-nominated","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"aturon","id":709807,"avatar_url":"https://avatars.githubusercontent.com/u/709807?v=3","gravatar_id":"","url":"https://api.github.com/users/aturon","html_url":"https://github.com/aturon","followers_url":"https://api.github.com/users/aturon/followers","following_url":"https://api.github.com/users/aturon/following{/other_user}","gists_url":"https://api.github.com/users/aturon/gists{/gist_id}","starred_url":"https://api.github.com/users/aturon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aturon/subscriptions","organizations_url":"https://api.github.com/users/aturon/orgs","repos_url":"https://api.github.com/users/aturon/repos","events_url":"https://api.github.com/users/aturon/events{/privacy}","received_events_url":"https://api.github.com/users/aturon/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2016-01-21T18:38:13Z","updated_at":"2016-01-26T16:15:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/31081","html_url":"https://github.com/rust-lang/rust/pull/31081","diff_url":"https://github.com/rust-lang/rust/pull/31081.diff","patch_url":"https://github.com/rust-lang/rust/pull/31081.patch"},"body":"This commit implements the stabilization of the custom hasher support intended\r\nfor 1.7 but left out due to some last-minute questions that needed some\r\ndecisions. A summary of the actions done in this PR are:\r\n\r\nStable\r\n\r\n* `std::hash::BuildHasher`\r\n* `BuildHasher::Hasher`\r\n* `BuildHasher::build_hasher`\r\n* `std::hash::BuildHasherDefault`\r\n* `HashMap::with_hasher`\r\n* `HashMap::with_capacity_and_hasher`\r\n* `HashSet::with_hasher`\r\n* `HashSet::with_capacity_and_hasher`\r\n* `std::collections::hash_map::RandomState`\r\n* `RandomState::new`\r\n\r\nDeprecated\r\n\r\n* `std::collections::hash_state`\r\n* `std::collections::hash_state::HashState` - this trait was also moved into\r\n  `std::hash` with a reexport here to ensure that we can have a blanket impl to\r\n  prevent immediate breakage on nightly. Note that this is unstable in both\r\n  location.\r\n* `HashMap::with_hash_state` - renamed\r\n* `HashMap::with_capacity_and_hash_state` - renamed\r\n* `HashSet::with_hash_state` - renamed\r\n* `HashSet::with_capacity_and_hash_state` - renamed\r\n\r\nCloses #27713"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/175096549","html_url":"https://github.com/rust-lang/rust/pull/31081#issuecomment-175096549","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/31081","id":175096549,"user":{"login":"aturon","id":709807,"avatar_url":"https://avatars.githubusercontent.com/u/709807?v=3","gravatar_id":"","url":"https://api.github.com/users/aturon","html_url":"https://github.com/aturon","followers_url":"https://api.github.com/users/aturon/followers","following_url":"https://api.github.com/users/aturon/following{/other_user}","gists_url":"https://api.github.com/users/aturon/gists{/gist_id}","starred_url":"https://api.github.com/users/aturon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aturon/subscriptions","organizations_url":"https://api.github.com/users/aturon/orgs","repos_url":"https://api.github.com/users/aturon/repos","events_url":"https://api.github.com/users/aturon/events{/privacy}","received_events_url":"https://api.github.com/users/aturon/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T16:15:17Z","updated_at":"2016-01-26T16:15:17Z","body":"@alexcrichton corrected the wrong docs problem :) I still find the docs super misleading, but we can fix in post if you prefer. That's my only complaint."}}