Skip to content

Commit 8823c46

Browse files
committed
rand: update to 0.8
Signed-off-by: Marc-Antoine Perennou <[email protected]>
1 parent fde2f58 commit 8823c46

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ wasm-bindgen-test = "0.3.10"
9999

100100
[dev-dependencies]
101101
femme = "2.1.1"
102-
rand = "0.7.3"
102+
rand = "0.8.0"
103103
tempfile = "3.1.0"
104104
futures = "0.3.4"
105-
rand_xorshift = "0.2.0"
105+
rand_xorshift = "0.3.0"
106106

107107
[[test]]
108108
name = "stream"

tests/channel.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,8 @@ fn drops() {
345345
for _ in 0..RUNS {
346346
let mut rng = rand_xorshift::XorShiftRng::seed_from_u64(0);
347347
task::block_on(async move {
348-
let steps = rng.gen_range(0, 10_000);
349-
let additional = rng.gen_range(0, 50);
348+
let steps = rng.gen_range(0..10_000);
349+
let additional = rng.gen_range(0..50);
350350

351351
DROPS.store(0, Ordering::SeqCst);
352352
let (s, r) = channel::<DropCounter>(50);

0 commit comments

Comments
 (0)