Skip to content

Make Rng::with_seed const #107

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2025
Merged

Make Rng::with_seed const #107

merged 1 commit into from
Jul 9, 2025

Conversation

hannobraun
Copy link
Contributor

This is trivially possible here, enables Rng construction in const contexts, and I can't think of any downsides.

This is trivially possible here, enables `Rng` construction in const
contexts, and I can't think of any downsides.
Copy link
Collaborator

@taiki-e taiki-e left a comment

Choose a reason for hiding this comment

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

Thanks.

@taiki-e taiki-e merged commit 9c536a4 into smol-rs:master Jul 9, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants