summaryrefslogtreecommitdiff
path: root/exercises/error_handling/errors2.rs
diff options
context:
space:
mode:
authorMatt Nield <64328730+matthewjnield@users.noreply.github.com>2023-10-13 15:47:38 -0400
committerGitHub <noreply@github.com>2023-10-13 15:47:38 -0400
commit642aac6f43f49407308f18306399a910cf8fe6f6 (patch)
tree88a9a039e60906271e1a02dde622dcbbcdd7c0f7 /exercises/error_handling/errors2.rs
parent5374811f961d6e9f9cf685595b5e1e1002b0a011 (diff)
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."
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 d4a5477..631fe67 100644
--- a/exercises/error_handling/errors2.rs
+++ b/exercises/error_handling/errors2.rs
@@ -3,7 +3,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 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
// might have typed anything, not just numbers!
//