diff options
Diffstat (limited to 'tests/sort-panic-safe.rs')
-rw-r--r-- | tests/sort-panic-safe.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sort-panic-safe.rs b/tests/sort-panic-safe.rs index 7c50505..00a9731 100644 --- a/tests/sort-panic-safe.rs +++ b/tests/sort-panic-safe.rs @@ -132,7 +132,7 @@ fn sort_panic_safe() { let mut rng = thread_rng(); let mut input = (0..len) .map(|id| DropCounter { - x: rng.gen_range(0, modulus), + x: rng.gen_range(0..modulus), id, version: Cell::new(0), }) |