This commit is contained in:
Emile 2021-07-06 04:01:51 +01:00
parent 7c5c2033a8
commit a28648687a
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
Box::pin(async move {
Delay::new(Duration::from_secs(
rand::thread_rng()
.gen_range(interval_seconds.min..interval_seconds.max),
.gen_range(interval_seconds.min..=interval_seconds.max),
))
.await;
item