fixed unused variable

This commit is contained in:
Phuntsok Drak-pa 2018-03-23 02:23:57 +01:00
parent f56706beed
commit 03664fe69e
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ fn exchange_with_server(stream: TcpStream) {
})()
{
Ok(name) => String::from(name),
Err(e) => {
Err(_) => {
println!("{}", ">>> Login successful".green());
String::new()
}