From 966f73efef89ecf01b638df548b832822b67779c Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Thu, 4 Apr 2024 20:47:58 +0000 Subject: [PATCH] automatic cargo CI changes --- src/bench/builtin.rs | 6 +++++- src/bench/report.rs | 2 +- src/bin/bench/cli.rs | 2 -- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/bench/builtin.rs b/src/bench/builtin.rs index b556758..37cb097 100644 --- a/src/bench/builtin.rs +++ b/src/bench/builtin.rs @@ -18,7 +18,11 @@ where SL: Solver<'wl, WL>, SL: 'wl, { - fn build(wordlist: &'wl WL, solver: SL, builder: GameBuilder<'wl, WL>) -> crate::error::WResult { + fn build( + wordlist: &'wl WL, + solver: SL, + builder: GameBuilder<'wl, WL>, + ) -> crate::error::WResult { Ok(Self { wordlist, solver, diff --git a/src/bench/report.rs b/src/bench/report.rs index c38963d..4c0be17 100644 --- a/src/bench/report.rs +++ b/src/bench/report.rs @@ -1,6 +1,6 @@ use chrono::{self, Duration, NaiveDateTime, NaiveTime, TimeDelta}; -use libpt::log::debug; use core::panic; +use libpt::log::debug; use std::fmt::Display; use std::ops::Div; diff --git a/src/bin/bench/cli.rs b/src/bin/bench/cli.rs index 0eb4aed..190b316 100644 --- a/src/bin/bench/cli.rs +++ b/src/bin/bench/cli.rs @@ -2,8 +2,6 @@ // #![warn(missing_docs)] #![warn(missing_debug_implementations)] -use std::thread::sleep_ms; - use clap::Parser; use libpt::log::*;