rand/benches
Vinzent Steinberg 98b915feed Change gen_range to accept Range types
This adds support for `Rng::range(a..b)` and `Rng::range(a..=b)`,
replacing `Rng::range(a, b)`. `a` and `b` must now implement
`PartialEq`.

This is a breaking change. In most cases, replacing
`Rng::gen_range(a, b)` with `Rng::gen_range(a..b)` should be enough,
however type annotations may be necessary, and `a` and `b` can no longer
be references or SIMD types.

SIMD types are still supported by `UniformSampler::sample_single`.

Some clippy warnings were fixed as well.
2020-08-01 16:09:50 +02:00
..
2020-01-02 15:46:14 +00:00
2020-02-28 15:34:08 +00:00