Skip to content

rand_core: relax sizing requirement on blanket implementations#1592

Closed
baloo wants to merge 1 commit into
rust-random:masterfrom
baloo:baloo/rand_core/relax-blanket
Closed

rand_core: relax sizing requirement on blanket implementations#1592
baloo wants to merge 1 commit into
rust-random:masterfrom
baloo:baloo/rand_core/relax-blanket

Conversation

@baloo

@baloo baloo commented Feb 18, 2025

Copy link
Copy Markdown
Contributor
  • Added a CHANGELOG.md entry

Summary

Relax the sizing requirements for the blanket implementations of TryCryptoRng and TryRngCore.

Motivation

When using a &mut CryptoRng in a &mut TryCryptoRng we should not require the rng to be Sized.

Details

@baloo

baloo commented Feb 18, 2025

Copy link
Copy Markdown
Contributor Author

closing in favor of #1593

@baloo baloo closed this Feb 18, 2025
@baloo baloo deleted the baloo/rand_core/relax-blanket branch February 18, 2025 00:34
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.

1 participant