removed unused imports

This commit is contained in:
Nickiel12 2021-12-17 20:45:54 -08:00
parent 8985d3bd0a
commit eb536e25ec
2 changed files with 1 additions and 4 deletions

View file

@ -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();
}
}
}

View file

@ -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(){