mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 23:04:17 -05:00
chore(errors2): minor description wording change
This commit makes a minor change in the wording of the description of the errors2 exercise to avoid potential confusion, changing: "A player of the game will type in how many items they want to buy, and the `total_cost` function will calculate the total cost of the tokens." to "A player of the game will type in how many items they want to buy, and the `total_cost` function will calculate the total cost of the items."
This commit is contained in:
parent
5374811f96
commit
642aac6f43
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
// Say we're writing a game where you can buy items with tokens. All items cost
|
// Say we're writing a game where you can buy items with tokens. All items cost
|
||||||
// 5 tokens, and whenever you purchase items there is a processing fee of 1
|
// 5 tokens, and whenever you purchase items there is a processing fee of 1
|
||||||
// token. A player of the game will type in how many items they want to buy, and
|
// token. A player of the game will type in how many items they want to buy, and
|
||||||
// the `total_cost` function will calculate the total cost of the tokens. Since
|
// the `total_cost` function will calculate the total cost of the items. Since
|
||||||
// the player typed in the quantity, though, we get it as a string-- and they
|
// the player typed in the quantity, though, we get it as a string-- and they
|
||||||
// might have typed anything, not just numbers!
|
// might have typed anything, not just numbers!
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue