rand_core: relax requirements on the param for SeedableRng#1641
rand_core: relax requirements on the param for SeedableRng#1641dhardy merged 1 commit intorust-random:masterfrom
SeedableRng#1641Conversation
Given the API-breaking nature I'm not sure this is sufficient motivation. In any case, I'd prefer not to merge breaking changes for now. Given that |
Is it really a breaking change? In my understanding, The only scenario which may cause issues I could think of, if the method implementation relies on RNG to be sized, which is highly unlikely in practice considering that we pass it be reference. |
These are trait methods; the It shouldn't affect many (if any) people however since normally those methods are not explicitly implemented. |
Yeah, I do agree the motivation is not very strong. I'm more than happy to wait, or even let go. But I wanted to raise the point. You decide :) Like I said in my original comment, this is an API break, but it only affects people who would implement the trait, and that shouldn't be many people. |
CHANGELOG.mdentrySummary
This relax the
Sizedrequirements onSeedableRngMotivation
Mostly for API consistency
Details
This is an API break, but this should mostly be transparent as the default implementation is provided.