Skip to content

Commit

Permalink
correct comments in errors2.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
navicore committed Mar 25, 2023
1 parent 9f61db5 commit 4160b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/error_handling/errors2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!

Expand Down

0 comments on commit 4160b06

Please sign in to comment.