refactor: remove uneed imports

This commit is contained in:
2026-08-18 17:32:43 +02:00
parent a0d4e0dee9
commit ea7407e39f
5 changed files with 5 additions and 7 deletions

View File

@@ -10,9 +10,8 @@ use checkers::{
network_identity::NetworkIdentity,
},
};
use log::{debug, error, info, warn};
use log::{error, info, warn};
use tokio::sync::mpsc;
use uuid::Uuid;
const QUIT_COMMAND: &str = "/quit";
const HELP_COMMAND: &str = "/help";

View File

@@ -3,7 +3,7 @@ use std::ops::Index;
use serde::{Deserialize, Serialize};
use uuid::Uuid;
use crate::logic::board::{board::Board, field::Field, pawn::Pawn};
use crate::logic::board::{board::Board, field::Field};
/// View of the board, without any methods. Meant for sending over network
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)]

View File

@@ -1,7 +1,7 @@
use core::fmt;
use std::ops::Sub;
use log::{debug, trace};
use log::trace;
use serde::{Deserialize, Serialize};
use crate::logic::math::vector::Vector2D;

View File

@@ -6,7 +6,6 @@ use uuid::Uuid;
use crate::{
logic::{
board::{
board::Board,
board_view::BoardView,
pawn::{CapturePath, MovePath},
},

View File

@@ -11,7 +11,7 @@ use uuid::Uuid;
use crate::{
logic::{
board::{board_view::BoardView, pawn::CapturePath},
board::pawn::CapturePath,
game_master::{GameMaster, GameResult},
math::position::Position,
},
@@ -21,7 +21,7 @@ use crate::{
ClientMessage::{self},
Message, ServerMessage,
},
network_identity::{NetworkIdentity, NetworkServerIdentity},
network_identity::NetworkServerIdentity,
},
};