Merge branch 'feat/interactive-solver' of https://git.cscherr.de/PlexSheep/wordle-analyzer into feat/interactive-solver
cargo devel CI / cargo CI (push) Successful in 1m48s Details

This commit is contained in:
Christoph J. Scherr 2024-07-23 11:27:30 +02:00
commit 40e2f4d387
3 changed files with 1 additions and 5 deletions

View File

@ -1,5 +1,4 @@
use std::convert::Infallible;
use std::fmt::Display;
use std::str::FromStr;
use libpt::cli::console::{style, StyledObject};

View File

@ -3,9 +3,7 @@ use crate::wlist::WordList;
use colored::Colorize;
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};
use std::convert::Infallible;
use std::fmt::Display;
use std::str::FromStr;
use super::{Evaluation, Game};
@ -49,7 +47,7 @@ impl From<char> for Status {
impl GuessResponse {
pub(crate) fn new<WL: WordList>(guess: &Word, status: Evaluation, game: &Game<WL>) -> Self {
let mut new = Self {
let new = Self {
guess: guess.to_owned(),
evaluation: status,
solution: game.solution().cloned(),

View File

@ -11,7 +11,6 @@ use crate::{
#[cfg(feature = "builtin")]
pub mod naive;
use libpt::log::debug;
#[cfg(feature = "builtin")]
pub use naive::NaiveSolver;
#[cfg(feature = "builtin")]