diff options
| author | mo8it <mo8it@proton.me> | 2024-07-08 15:05:58 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-07-08 15:05:58 +0200 |
| commit | 2d5d70693a879f07fcd941c21da3a3760cb81db6 (patch) | |
| tree | d6f55364a20198f6a73ef4d3326bf06859451880 /exercises/13_error_handling/errors3.rs | |
| parent | a4091ade5cde7602acef0601cb7f69984fcad009 (diff) | |
errors3: Add a comment to prevent changing the wrong line
Diffstat (limited to 'exercises/13_error_handling/errors3.rs')
| -rw-r--r-- | exercises/13_error_handling/errors3.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/exercises/13_error_handling/errors3.rs b/exercises/13_error_handling/errors3.rs index 33a7b87..8e8c38a 100644 --- a/exercises/13_error_handling/errors3.rs +++ b/exercises/13_error_handling/errors3.rs @@ -19,6 +19,7 @@ fn main() { let mut tokens = 100; let pretend_user_input = "8"; + // Don't change this line. let cost = total_cost(pretend_user_input)?; if cost > tokens { |
