[explorer, moves, perft] A few rustfmt changes that reorder imports

This commit is contained in:
Eryn Wells 2025-06-16 13:49:22 -07:00
parent bd112efdf3
commit 45037d6fc1
3 changed files with 7 additions and 5 deletions

View file

@ -3,14 +3,14 @@
mod make_command; mod make_command;
use chessfriend_board::ZobristState; use chessfriend_board::ZobristState;
use chessfriend_board::{fen::FromFenStr, Board}; use chessfriend_board::{Board, fen::FromFenStr};
use chessfriend_core::random::RandomNumberGenerator; use chessfriend_core::random::RandomNumberGenerator;
use chessfriend_core::{Color, Piece, Shape, Square}; use chessfriend_core::{Color, Piece, Shape, Square};
use chessfriend_moves::GeneratedMove; use chessfriend_moves::GeneratedMove;
use chessfriend_position::{fen::ToFenStr, PlacePieceStrategy, Position}; use chessfriend_position::{PlacePieceStrategy, Position, fen::ToFenStr};
use clap::{Arg, Command}; use clap::{Arg, Command};
use rustyline::error::ReadlineError;
use rustyline::DefaultEditor; use rustyline::DefaultEditor;
use rustyline::error::ReadlineError;
use std::sync::Arc; use std::sync::Arc;
use thiserror::Error; use thiserror::Error;

View file

@ -242,7 +242,9 @@ impl MoveType {
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use super::*; use super::*;
use crate::{assert_move_list, assert_move_list_contains, assert_move_list_does_not_contain, ply, Move}; use crate::{
assert_move_list, assert_move_list_contains, assert_move_list_does_not_contain, ply, Move,
};
use chessfriend_board::{fen::FromFenStr, test_board}; use chessfriend_board::{fen::FromFenStr, test_board};
use chessfriend_core::{Color, Square}; use chessfriend_core::{Color, Square};
use std::collections::HashSet; use std::collections::HashSet;

View file

@ -1,4 +1,4 @@
use chessfriend_position::{fen::FromFenStr, perft::Perft, Position}; use chessfriend_position::{Position, fen::FromFenStr, perft::Perft};
use clap::Parser; use clap::Parser;
#[derive(Parser, Debug)] #[derive(Parser, Debug)]