From 206ebad5cd33db9e7543ca3d43a5203c586e915c Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Wed, 24 Jul 2024 12:01:14 +0200 Subject: [PATCH] chore: fix warning --- src/bin/solve/simple.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/solve/simple.rs b/src/bin/solve/simple.rs index 8da8854..084db61 100644 --- a/src/bin/solve/simple.rs +++ b/src/bin/solve/simple.rs @@ -6,7 +6,7 @@ use clap::{Parser, Subcommand}; use libpt::cli::console::style; use libpt::cli::{repl::Repl, strum}; use libpt::log::*; -use strum::{EnumIter, IntoEnumIterator}; +use strum::EnumIter; use wordle_analyzer::game::evaluation::Evaluation; use wordle_analyzer::game::response::GuessResponse; @@ -167,7 +167,7 @@ fn help_guess_interactive(cli: Cli) -> anyhow::Result<()> { Ok(()) } -fn wlcommand_handler(cli: &Cli, cmd: &WlCommand, wl: &impl WordList) -> anyhow::Result<()> { +fn wlcommand_handler(_cli: &Cli, cmd: &WlCommand, wl: &impl WordList) -> anyhow::Result<()> { match cmd { WlCommand::Stats => { println!("{wl}")