Skip to content

refactor: use std::hash::RandomState - #747

Merged
clarfonthey merged 1 commit into
rust-lang:mainfrom
xtqqczze:std-hash-RandomState
Sep 6, 2026
Merged

clarfonthey merged 1 commit into
rust-lang:mainfrom
xtqqczze:std-hash-RandomState

Conversation

@xtqqczze

@xtqqczze xtqqczze commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Since Rust 1.76 we can use std::hash::RandomState instead of std::collections::hash_map::RandomState.

Since Rust 1.76 we can use `std::hash::RandomState` instead of `std::collections::hash_map::RandomState`.
@clarfonthey

clarfonthey commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Right, that actually is well within our MSRV. Thank you!

EDIT: Right, had actually recommended this to you explicitly. Thank you regardless.

@clarfonthey
clarfonthey added this pull request to the merge queue Sep 6, 2026
Merged via the queue into rust-lang:main with commit 8710205 Sep 6, 2026
25 checks passed
@xtqqczze
xtqqczze deleted the std-hash-RandomState branch September 6, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants