build(deps): Bump rand to 0.8 and quickcheck to 1 (#2857)

Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
Co-authored-by: Max Inden <mail@max-inden.de>
This commit is contained in:
Roman
2022-09-22 12:48:32 +04:00
committed by GitHub
parent a4d1e58836
commit e530118fb0
49 changed files with 346 additions and 201 deletions

View File

@ -295,7 +295,7 @@ where
}
// Not always polling handlers in the same order should give anyone the chance to make progress.
let pos = rand::thread_rng().gen_range(0, self.handlers.len());
let pos = rand::thread_rng().gen_range(0..self.handlers.len());
for (k, h) in self.handlers.iter_mut().skip(pos) {
if let Poll::Ready(e) = h.poll(cx) {