[explorer, moves, perft] A few rustfmt changes that reorder imports
This commit is contained in:
		
							parent
							
								
									bd112efdf3
								
							
						
					
					
						commit
						45037d6fc1
					
				
					 3 changed files with 7 additions and 5 deletions
				
			
		|  | @ -3,14 +3,14 @@ | |||
| mod make_command; | ||||
| 
 | ||||
| use chessfriend_board::ZobristState; | ||||
| use chessfriend_board::{fen::FromFenStr, Board}; | ||||
| use chessfriend_board::{Board, fen::FromFenStr}; | ||||
| use chessfriend_core::random::RandomNumberGenerator; | ||||
| use chessfriend_core::{Color, Piece, Shape, Square}; | ||||
| use chessfriend_moves::GeneratedMove; | ||||
| use chessfriend_position::{fen::ToFenStr, PlacePieceStrategy, Position}; | ||||
| use chessfriend_position::{PlacePieceStrategy, Position, fen::ToFenStr}; | ||||
| use clap::{Arg, Command}; | ||||
| use rustyline::error::ReadlineError; | ||||
| use rustyline::DefaultEditor; | ||||
| use rustyline::error::ReadlineError; | ||||
| use std::sync::Arc; | ||||
| use thiserror::Error; | ||||
| 
 | ||||
|  |  | |||
|  | @ -242,7 +242,9 @@ impl MoveType { | |||
| #[cfg(test)] | ||||
| mod tests { | ||||
|     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_core::{Color, Square}; | ||||
|     use std::collections::HashSet; | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| use chessfriend_position::{fen::FromFenStr, perft::Perft, Position}; | ||||
| use chessfriend_position::{Position, fen::FromFenStr, perft::Perft}; | ||||
| use clap::Parser; | ||||
| 
 | ||||
| #[derive(Parser, Debug)] | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue