mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-26 19:06:32 +00:00
Fixed typo of champion masteries example comment (#49)
two "o's" in champion
This commit is contained in:
parent
97b6017b42
commit
6512866c26
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ rt.block_on(async {
|
||||||
.get_all_champion_masteries(PlatformRoute::NA1, &summoner.id).await
|
.get_all_champion_masteries(PlatformRoute::NA1, &summoner.id).await
|
||||||
.expect("Get champion masteries failed.");
|
.expect("Get champion masteries failed.");
|
||||||
|
|
||||||
// Print champioon masteries.
|
// Print champion masteries.
|
||||||
for (i, mastery) in masteries.iter().take(10).enumerate() {
|
for (i, mastery) in masteries.iter().take(10).enumerate() {
|
||||||
println!("{: >2}) {: <9} {: >7} ({})", i + 1,
|
println!("{: >2}) {: <9} {: >7} ({})", i + 1,
|
||||||
mastery.champion_id.name().unwrap_or("UNKNOWN"),
|
mastery.champion_id.name().unwrap_or("UNKNOWN"),
|
||||||
|
|
Loading…
Reference in a new issue