forked from mirror/Riven
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());
|
||||
|
||||
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(tokio::spawn)
|
||||
.collect::<Vec<_>>();
|
||||
|
|
Loading…
Reference in a new issue