rust: fix error msg

This commit is contained in:
Uğur Küpeli
2022-05-07 11:18:14 +03:00
parent 3e7d530fc6
commit 954f790b4e

View File

@@ -58,7 +58,7 @@ impl Game {
is_y = true;
}
}
Err(e) => println!("INVALID GUESS - TRY AGAIN! Error: {e}"),
Err(e) => println!("{} - TRY AGAIN!", e.to_string().to_uppercase()),
}
}
}