From a4efade392aa7127c373b0247d39274cb0decd10 Mon Sep 17 00:00:00 2001 From: tom barrett Date: Tue, 19 Feb 2019 13:24:25 -0600 Subject: unified all server->client connection and brought logic to modules --- src/client/construction.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/client/construction.rs') diff --git a/src/client/construction.rs b/src/client/construction.rs index 8cb812f..8549c09 100644 --- a/src/client/construction.rs +++ b/src/client/construction.rs @@ -8,8 +8,7 @@ use std::io::{BufRead, BufReader}; use std::net::TcpStream; use crate::constants; -use crate::modules::construction::ConstructionStatus; -use crate::server::construction::ConstructionData; +use crate::modules::construction::{ConstructionClientData, ConstructionStatus}; pub fn client_construction(mut stream: TcpStream, mut buff_r: BufReader) { let stdout = stdout(); @@ -19,7 +18,7 @@ pub fn client_construction(mut stream: TcpStream, mut buff_r: BufReader