Browse Source

fixed unused variable

master
Phuntsok Drak-pa 2 years ago
parent
commit
03664fe69e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Rust/src/client.rs

+ 1
- 1
Rust/src/client.rs 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()
}


Loading…
Cancel
Save