smol-rs / fastrand

A simple and fast random number generator
Apache License 2.0
409 stars 35 forks source link

PartialEq for Rng #22

Closed DougLau closed 2 years ago

DougLau commented 2 years ago

I would like to include an Rng inside a struct which derives PartialEq, but it's not implemented now. Could that be added, plus other standard helpful traits?

taiki-e commented 2 years ago

I would accept a PR to implement PartialEq and Eq for Rng.