Skip to content

Commit 6d4a872

Browse files
authored
Merge pull request #1437 from navicore/errors2-comment-error
correct comments in errors2.rs
2 parents 65b8770 + 4160b06 commit 6d4a872

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
@@ -2,7 +2,7 @@
22
// Say we're writing a game where you can buy items with tokens. All items cost
33
// 5 tokens, and whenever you purchase items there is a processing fee of 1
44
// 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.
5+
// and the `total_cost` function will calculate the total cost of the tokens.
66
// Since the player typed in the quantity, though, we get it as a string-- and
77
// they might have typed anything, not just numbers!
88

0 commit comments

Comments
 (0)