Skip to content

Commit 642aac6

Browse files
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."
1 parent 5374811 commit 642aac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/error_handling/errors2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Say we're writing a game where you can buy items with tokens. All items cost
44
// 5 tokens, and whenever you purchase items there is a processing fee of 1
55
// token. A player of the game will type in how many items they want to buy, and
6-
// the `total_cost` function will calculate the total cost of the tokens. Since
6+
// the `total_cost` function will calculate the total cost of the items. Since
77
// the player typed in the quantity, though, we get it as a string-- and they
88
// might have typed anything, not just numbers!
99
//

0 commit comments

Comments
 (0)