generated from PlexSheep/rs-base
parent
4993e70309
commit
d101d7ddf9
|
@ -37,6 +37,7 @@ impl<'wl, WL: WordList> Solver<'wl, WL> for NaiveSolver<'wl, WL> {
|
||||||
.iter()
|
.iter()
|
||||||
.filter(|p| !game.made_guesses().contains(&&p.0))
|
.filter(|p| !game.made_guesses().contains(&&p.0))
|
||||||
.filter(|p| {
|
.filter(|p| {
|
||||||
|
// TODO: don't repeat unmatched contained chars on the same position twice #2
|
||||||
let mut fits = true;
|
let mut fits = true;
|
||||||
for c in other_chars.iter() {
|
for c in other_chars.iter() {
|
||||||
fits &= p.0.contains(*c);
|
fits &= p.0.contains(*c);
|
||||||
|
|
Loading…
Reference in New Issue