Skip to content

Commit

Permalink
Remove outdated TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
NonerKao authored and HactarCE committed Oct 31, 2022
1 parent 05a355e commit 21b82bf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@ impl App {

Command::ScrambleN(n) => {
if self.confirm_discard_changes("scramble") {
// TODO: `n` is not validated. It may be `0` (which is
// harmless) or `usize::MAX` (which will freeze the
// program).
self.puzzle.scramble_n(n)?;
self.set_status_ok(format!(
"Scrambled with {} random {}",
Expand Down

0 comments on commit 21b82bf

Please sign in to comment.