We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65b8770 + 4160b06 commit 6d4a872Copy full SHA for 6d4a872
exercises/error_handling/errors2.rs
@@ -2,7 +2,7 @@
2
// Say we're writing a game where you can buy items with tokens. All items cost
3
// 5 tokens, and whenever you purchase items there is a processing fee of 1
4
// token. A player of the game will type in how many items they want to buy,
5
-// 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.
6
// Since the player typed in the quantity, though, we get it as a string-- and
7
// they might have typed anything, not just numbers!
8
0 commit comments