From d101d7ddf96dda8f6d9cd1a644a2df4bb46816bb Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Fri, 22 Mar 2024 22:50:44 +0100 Subject: [PATCH] add todo #2 --- src/solve/naive/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/solve/naive/mod.rs b/src/solve/naive/mod.rs index 4e6be92..7cddb33 100644 --- a/src/solve/naive/mod.rs +++ b/src/solve/naive/mod.rs @@ -37,6 +37,7 @@ impl<'wl, WL: WordList> Solver<'wl, WL> for NaiveSolver<'wl, WL> { .iter() .filter(|p| !game.made_guesses().contains(&&p.0)) .filter(|p| { + // TODO: don't repeat unmatched contained chars on the same position twice #2 let mut fits = true; for c in other_chars.iter() { fits &= p.0.contains(*c);