add todo #2
cargo devel CI / cargo CI (push) Successful in 40s Details

This commit is contained in:
Christoph J. Scherr 2024-03-22 22:50:44 +01:00
parent 4993e70309
commit d101d7ddf9
Signed by: PlexSheep
GPG Key ID: 7CDD0B14851A08EF
1 changed files with 1 additions and 0 deletions

View File

@ -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);