From 21b82bf011d3f5567c93eee2331cf93541941ff3 Mon Sep 17 00:00:00 2001 From: "Alan (Quey-Liang) Kao" Date: Mon, 31 Oct 2022 20:09:18 +0800 Subject: [PATCH] Remove outdated TODO comments --- src/app.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/app.rs b/src/app.rs index 31339bbd..d0697629 100644 --- a/src/app.rs +++ b/src/app.rs @@ -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 {}",