Fixed typo of champion masteries example comment (#49)

two "o's" in champion
pull/52/head
sir naji 2023-01-30 23:03:30 +01:00 committed by Mingwei Samuel
parent 97b6017b42
commit 6512866c26
1 changed files with 1 additions and 1 deletions

View File

@ -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"),