Skip to content

Conversation

pitdicker
Copy link
Contributor

No description provided.

@dhardy
Copy link
Member

dhardy commented Mar 18, 2018

Well spotted, but I don't get why the compiler allows both. Does it really view them as equivalent? Maybe. @burdges do you know?

Anyway, it doesn't matter, but lets merge this.

@dhardy dhardy merged commit 429a010 into rust-random:master Mar 18, 2018
@pitdicker
Copy link
Contributor Author

I think it worked without a problem because Rng: RngCore.

@pitdicker pitdicker deleted the from_rng_bounds branch March 18, 2018 13:06
pitdicker pushed a commit that referenced this pull request Apr 4, 2018
Fix from_rng trait bounds in StdRng and SmallRng
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 this pull request may close these issues.

2 participants