1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-08 09:09:17 +01:00

errors3: Add a comment to prevent changing the wrong line

This commit is contained in:
mo8it 2024-07-08 15:05:58 +02:00
parent a4091ade5c
commit 2d5d70693a

@ -19,6 +19,7 @@ fn main() {
let mut tokens = 100; let mut tokens = 100;
let pretend_user_input = "8"; let pretend_user_input = "8";
// Don't change this line.
let cost = total_cost(pretend_user_input)?; let cost = total_cost(pretend_user_input)?;
if cost > tokens { if cost > tokens {