Skip to content

Make Rng::with_seed const#107

Merged
taiki-e merged 1 commit intosmol-rs:masterfrom
hannobraun:master
Jul 9, 2025
Merged

Make Rng::with_seed const#107
taiki-e merged 1 commit intosmol-rs:masterfrom
hannobraun:master

Conversation

@hannobraun
Copy link
Copy Markdown
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
Copy Markdown
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
@taiki-e taiki-e mentioned this pull request Jan 20, 2026
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