Update example dependencies

This commit is contained in:
Héctor Ramón Jiménez 2023-09-07 03:15:02 +02:00
parent 8cfad86ec1
commit d315e27451
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
4 changed files with 9 additions and 11 deletions

View file

@ -153,7 +153,7 @@ impl Pokemon {
let id = {
let mut rng = rand::rngs::OsRng;
rng.gen_range(0, Pokemon::TOTAL)
rng.gen_range(0..Pokemon::TOTAL)
};
let fetch_entry = async {