KillingSpark / zstd-rs

zstd-decoder in pure rust
MIT License
253 stars 34 forks source link

Fix rng.gen_range in benchmarks #24

Closed Titaniumtown closed 2 years ago

Titaniumtown commented 2 years ago

rng.gen_range should be called with a range, not 2 integers. This seems to be a recent change in rand. This PR resolves that issue.

KillingSpark commented 2 years ago

Thanks!