swift icon indicating copy to clipboard operation
swift copied to clipboard

Remove Copyable requirement from RandomNumberGenerator protocol

Open stephentyrone opened this issue 5 months ago • 2 comments

We should allow RNGs to be ~Copyable. For one thing, they simply don't need to be copyable. For another, it's entirely plausible that it would be desirable to bind an RNG to a unique resource. It's entirely arguable that the SystemRNG should be ~Copyable, but I'll consider that under a separate PR.

stephentyrone avatar Sep 22 '24 18:09 stephentyrone