mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 22:02:22 -05:00
Merge pull request #1437 from navicore/errors2-comment-error
correct comments in errors2.rs
This commit is contained in:
commit
6d4a87227d
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,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,
|
// 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 number of tokens.
|
// and the `total_cost` function will calculate the total cost of the tokens.
|
||||||
// Since the player typed in the quantity, though, we get it as a string-- and
|
// Since the player typed in the quantity, though, we get it as a string-- and
|
||||||
// they might have typed anything, not just numbers!
|
// they might have typed anything, not just numbers!
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue