Skip to content
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

Expose missing fill method in global_rng module #90

Merged
merged 2 commits into from
Oct 6, 2024
Merged

Expose missing fill method in global_rng module #90

merged 2 commits into from
Oct 6, 2024

Conversation

TheJokr
Copy link
Contributor

@TheJokr TheJokr commented Oct 3, 2024

I recently had a use case for Rng::fill, but had to instantiate a new Rng because the method isn't exposed from the crate's global one. All the other Rng methods are present in mod global_rng, so I figured it's an oversight.

I went through all of Rng's methods and found that this is the only
missing one.
The latest version of the action doesn't generate Cargo.lock
automatically anymore, so I added an extra step to do this.
@TheJokr
Copy link
Contributor Author

TheJokr commented Oct 4, 2024

Looks like rustsec/audit-check renamed their master branch to main, which makes the CI pipeline fail. I updated the reference and made it work again.

Copy link
Member

@notgull notgull left a comment

Choose a reason for hiding this comment

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

Thanks!

@notgull notgull merged commit cfc0ab0 into smol-rs:master Oct 6, 2024
14 checks passed
@notgull notgull mentioned this pull request Nov 6, 2024
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