forked from mirror/Riven
1
0
Fork 0

Update TR challenger test slice out of bounds

v/1.x.x
Mingwei Samuel 2021-01-16 13:25:34 -08:00
parent 4b5776ca8d
commit 6c3d51a071
1 changed files with 1 additions and 1 deletions

View File

@ -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<_>>();