summaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorEd Sweeney <ed@onextent.com>2023-03-24 21:52:58 -0700
committerEd Sweeney <ed@onextent.com>2023-03-24 21:52:58 -0700
commit4160b06c6ca5bdb1a363fdb130a3a3055b9d2eac (patch)
treedad0f4f0f7763705b31b64c1fcdf6a397b3fdb45 /exercises
parent9f61db5dbe38538cf06571fcdd5f806e7901e83a (diff)
correct comments in errors2.rs
Diffstat (limited to 'exercises')
-rw-r--r--exercises/error_handling/errors2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/error_handling/errors2.rs b/exercises/error_handling/errors2.rs
index aad3a93..76b8d12 100644
--- a/exercises/error_handling/errors2.rs
+++ b/exercises/error_handling/errors2.rs
@@ -2,7 +2,7 @@
// 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
// 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
// they might have typed anything, not just numbers!