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

slice_partition_at_index is no longer supported #1214

Closed
krojew opened this issue Feb 4, 2022 · 1 comment · Fixed by #1215
Closed

slice_partition_at_index is no longer supported #1214

krojew opened this issue Feb 4, 2022 · 1 comment · Fixed by #1215

Comments

@krojew
Copy link

krojew commented Feb 4, 2022

Common issues

Problem: rand with nightly feature has been broken for some time, since slice_partition_at_index had been removed.

Quick solution: Don't use nightly feature or remove slice_partition_at_index.

Details: slice_partition_at_index was removed recently, thus the nightly breaks the build at https://github.com/rust-random/rand/blob/master/src/lib.rs#L53.

@TheIronBorn
Copy link
Collaborator

It seems we aren't even using the feature because we switched to select_nth when the name changed. We could probably just remove the feature without concern

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 a pull request may close this issue.

2 participants