Commit 786caa0
committed
fix: Update benchmark files for rand 0.9 API compatibility
After rebasing on PR #702, which updated rand from 0.10 to 0.9,
the benchmarks needed API adjustments:
- Use rand::Rng instead of rand::RngExt
- Use gen_range() instead of random_range()
This ensures benchmarks compile with the updated dependency.
Signed-off-by: Henrik Ma Johansson <dahankzter@gmail.com>1 parent 3dd5033 commit 786caa0
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments