automatic cargo CI changes

This commit is contained in:
PlexSheep 2024-03-21 23:02:28 +00:00 committed by github-actions[bot]
parent 94d16b345f
commit 3f60238c07
3 changed files with 5 additions and 7 deletions

View File

@ -1,20 +1,18 @@
#![warn(clippy::all)]
// #![warn(missing_docs)]
#![warn(missing_debug_implementations)]
use std::io::{Read, Write};
use std::io::Write;
use anyhow::anyhow;
use clap::Parser;
use libpt::log::*;
use wordle_analyzer::error::GameError;
use wordle_analyzer::game::response::GuessResponse;
use wordle_analyzer::game::Game;
use wordle_analyzer::wlist::builtin::BuiltinWList;
use wordle_analyzer::wlist::word::Word;
use wordle_analyzer::{self, game};
use colored::Colorize;
#[derive(Parser, Clone, Debug)]
#[command(version, about, long_about, author)]
struct Cli {
@ -83,7 +81,7 @@ fn main() -> anyhow::Result<()> {
Ok(())
}
fn get_word(cli: &Cli, step: usize) -> anyhow::Result<Word> {
fn get_word(_cli: &Cli, step: usize) -> anyhow::Result<Word> {
let mut word = Word::new();
let stdin = std::io::stdin();
let mut stdout = std::io::stdout();

View File

@ -42,7 +42,7 @@ impl GuessResponse {
evaluation: status,
step,
finish,
win
win,
}
}

View File

@ -7,9 +7,9 @@ pub const DEFAULT_WORD_LENGTH: usize = 5;
/// Default amount of guesses per game
pub const DEFAULT_MAX_STEPS: usize = 6;
pub mod error;
#[cfg(feature = "bench")]
pub mod bench;
pub mod error;
#[cfg(feature = "game")]
pub mod game;
#[cfg(feature = "solvers")]