From 76829dd16db08c352afb6f036e6a532d0b4597e9 Mon Sep 17 00:00:00 2001 From: jake Date: Mon, 16 Mar 2020 20:43:20 -0700 Subject: [PATCH] remove unused use statements --- src/entity/item/mod.rs | 4 ---- src/main.rs | 4 +--- src/ship/mod.rs | 1 - 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/entity/item/mod.rs b/src/entity/item/mod.rs index 1610244..ec39b07 100644 --- a/src/entity/item/mod.rs +++ b/src/entity/item/mod.rs @@ -5,10 +5,6 @@ pub mod tool; pub mod unit; pub mod mag; -//use libpso::item; -use libpso::character::character; - - #[derive(PartialEq, Copy, Clone, Debug, Hash, Eq)] pub struct ItemEntityId(pub u32); #[derive(Hash, PartialEq, Eq, Debug, Clone)] diff --git a/src/main.rs b/src/main.rs index 8531a45..a3fbfe7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,7 +11,6 @@ mod patch; mod login; mod ship; -use std::thread; use std::time::SystemTime; use log::{info}; @@ -19,10 +18,9 @@ use patch::patch::{PatchServerState, generate_patch_tree, load_config, load_motd use login::login::LoginServerState; use login::character::CharacterServerState; use ship::ship::ShipServerState; -use entity::account::{UserAccount, UserSettings}; +use entity::account::UserAccount; use entity::gateway::{EntityGateway, InMemoryGateway}; use entity::item::ItemLocation; -use libpso::{utf8_to_array, utf8_to_utf16_array}; use crate::entity::item; diff --git a/src/ship/mod.rs b/src/ship/mod.rs index 1353f31..4b6b4d0 100644 --- a/src/ship/mod.rs +++ b/src/ship/mod.rs @@ -6,5 +6,4 @@ pub mod items; pub mod item_stats; pub mod map; pub mod monster; - pub mod drops;