Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Derive Clone for FxRandomState and FxSeededState #52

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

DaniPopes
Copy link
Contributor

@DaniPopes DaniPopes commented Sep 25, 2024

FxRandomState is based off of he standard library's RandomState, but FxRandomState doesn't derive Clone, which is required for FxHashMapRand: Clone.

The same is done for FxSeededState.

@DaniPopes DaniPopes changed the title Derive Clone for FxRandomState Derive Clone for FxRandomState and FxSeededState Sep 25, 2024
Copy link
Member

@WaffleLapkin WaffleLapkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@WaffleLapkin WaffleLapkin merged commit 6745258 into rust-lang:master Oct 17, 2024
10 checks passed
@DaniPopes DaniPopes deleted the random-state-clone branch October 17, 2024 23:24
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants