mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2025-01-27 11:17:27 -08:00
Update TR challenger test slice out of bounds
This commit is contained in:
parent
4b5776ca8d
commit
6c3d51a071
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ async_tests!{
|
||||||
|
|
||||||
println!("{:?} Challenger {} entries.", REGION, ll.entries.len());
|
println!("{:?} Challenger {} entries.", REGION, ll.entries.len());
|
||||||
|
|
||||||
let sl = ll.entries[..50].iter()
|
let sl = ll.entries.iter().take(50)
|
||||||
.map(|entry| RIOT_API.summoner_v4().get_by_summoner_id(REGION, &entry.summoner_id))
|
.map(|entry| RIOT_API.summoner_v4().get_by_summoner_id(REGION, &entry.summoner_id))
|
||||||
.map(tokio::spawn)
|
.map(tokio::spawn)
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
|
|
Loading…
Reference in a new issue