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

Implement traits from the rand crate. #83

Closed
lemmih opened this issue May 23, 2021 · 2 comments
Closed

Implement traits from the rand crate. #83

lemmih opened this issue May 23, 2021 · 2 comments

Comments

@lemmih
Copy link
Contributor

lemmih commented May 23, 2021

It would be nice to have these implementations behind an optional dependency on rand. Would you accept a PR?

impl<T> Distribution<NonNan<T>> for Standard {}
impl<T> Distribution<NonNan<T>> for Open01 {}
impl<T> Distribution<NonNan<T>> for OpenClosed01 {}
impl<T> Distribution<OrderedFloat<T>> for Standard {}
impl<T> Distribution<OrderedFloat<T>> for Open01 {}
impl<T> Distribution<OrderedFloat<T>> for OpenClosed01 {}
@mbrubeck
Copy link
Collaborator

Yes, a PR would be welcome.

@mbrubeck
Copy link
Collaborator

Fixed by #84.

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

No branches or pull requests

2 participants