Closed kazcw closed 2 years ago
I don't see any documentation for how to make a type createable with random() and rng.gen(). I think the book could use a page for type implementers with an example of impl Distribution<T> for Standard.
random()
rng.gen()
impl Distribution<T> for Standard
I don't see any documentation for how to make a type createable with
random()
andrng.gen()
. I think the book could use a page for type implementers with an example ofimpl Distribution<T> for Standard
.