minor function signature change

This commit is contained in:
Phuntsok Drak-pa 2018-03-25 16:24:38 +02:00
parent 0b26338659
commit 741dff0195
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ type UserMap = HashMap<SocketAddr, UserMapValue>;
// CODE // // CODE //
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
pub fn get_time() -> String { fn get_time() -> String {
let date = Local::now(); let date = Local::now();
date.format("[%H:%M:%S]").to_string() date.format("[%H:%M:%S]").to_string()
} }