summaryrefslogtreecommitdiff
path: root/exercises/error_handling/errors2.rs
diff options
context:
space:
mode:
authorliv <mokou@fastmail.com>2023-03-26 12:49:59 +0000
committerGitHub <noreply@github.com>2023-03-26 12:49:59 +0000
commit6d4a87227dde4ed52db40cf9a210563263f69531 (patch)
tree279cc4d1899325da58a3c34ec99fc8dc20b3a60a /exercises/error_handling/errors2.rs
parent65b8770ce99809e68c254402a6a46cb0bb18e306 (diff)
parent4160b06c6ca5bdb1a363fdb130a3a3055b9d2eac (diff)
Merge pull request #1437 from navicore/errors2-comment-error
correct comments in errors2.rs
Diffstat (limited to 'exercises/error_handling/errors2.rs')
-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 1cd8fc6..6971fcf 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!