diff options
| author | Micha White <botahamec@outlook.com> | 2023-12-21 21:07:45 -0500 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2023-12-21 21:07:45 -0500 |
| commit | 207503ddd087af15c4cd09d54cddd54cee19b7f6 (patch) | |
| tree | 9f48ef13e5edd0a48d75beb151f628b320819aeb /engine | |
| parent | 508b4de467cfc6ccb594153a2724fc3e8871bf9b (diff) | |
Remove unused imports
Diffstat (limited to 'engine')
| -rw-r--r-- | engine/src/eval.rs | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/engine/src/eval.rs b/engine/src/eval.rs index eaae0a4..d5401d3 100644 --- a/engine/src/eval.rs +++ b/engine/src/eval.rs @@ -1,15 +1,7 @@ -use std::fmt::{Debug, Display}; -use std::num::NonZeroU8; +use std::fmt::{self, Display}; use std::ops::Neg; -use std::sync::atomic::AtomicBool; -use std::sync::Arc; -use std::time::Instant; -use model::{CheckersBitBoard, Move, PieceColor, PossibleMoves}; - -use crate::lazysort::LazySort; -use crate::transposition_table::TranspositionTableRef; -use crate::{EvaluationTask, Frontend}; +use model::CheckersBitBoard; const KING_WORTH: u32 = 2; @@ -17,7 +9,7 @@ const KING_WORTH: u32 = 2; pub struct Evaluation(i16); impl Display for Evaluation { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { if self.is_force_win() { write!(f, "+M{}", self.force_sequence_length().unwrap()) } else if self.is_force_loss() { |
