Bump dependencies to get a single version of rand (#2733)

This removes a few crates in the dependencies, and a few exceptions (at
the price of a new one) in the cargo-deny configuration.
This commit is contained in:
Benjamin Bouvier
2021-03-17 15:07:50 +01:00
committed by GitHub
parent a8aaf812ef
commit 4603b3b292
7 changed files with 23 additions and 20 deletions

View File

@@ -263,7 +263,7 @@ impl PoolingAllocationStrategy {
match self {
Self::NextAvailable => free_count - 1,
Self::Random => rand::thread_rng().gen_range(0, free_count),
Self::Random => rand::thread_rng().gen_range(0..free_count),
}
}
}