From eb536e25ecc8ef1a6d1402cf3da11b39e37668bc Mon Sep 17 00:00:00 2001 From: Nickiel12 <35903114+Nickiel12@users.noreply.github.com> Date: Fri, 17 Dec 2021 20:45:54 -0800 Subject: [PATCH] removed unused imports --- src/modules/socket_handler.rs | 3 --- src/tests/socket_handler_tests.rs | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/modules/socket_handler.rs b/src/modules/socket_handler.rs index 72c7d2b..38de5a2 100644 --- a/src/modules/socket_handler.rs +++ b/src/modules/socket_handler.rs @@ -5,8 +5,6 @@ use std::sync::mpsc::Sender; use std::thread::{self, JoinHandle}; use std::time::Duration; -use super::message_handler::StateMessage; - pub struct Socket{ } @@ -49,6 +47,5 @@ impl Socket { update_tx.send(output.into_owned()).unwrap(); } - } } \ No newline at end of file diff --git a/src/tests/socket_handler_tests.rs b/src/tests/socket_handler_tests.rs index 06028d2..4a68180 100644 --- a/src/tests/socket_handler_tests.rs +++ b/src/tests/socket_handler_tests.rs @@ -3,7 +3,7 @@ use std::io::{Write}; use std::thread; use std::time::Duration; -use crate::{SERVER_ADDRESS, modules::socket_handler::Socket}; +use crate::modules::socket_handler::Socket; #[test] fn can_make_socket_listener(){