logger: fix clippy complain

This commit is contained in:
Stéphane Cerveau 2024-01-02 14:51:38 +01:00
parent c5f9cac444
commit bed8d6a58e

View file

@ -214,7 +214,7 @@ impl MessageLogger {
pub fn print_log(&self, log_type: LogType, msg: String) {
let to_send = format!("{}\t{}", Local::now().format("%H:%M:%S"), msg);
self.sender.send((log_type.clone(), to_send)).unwrap();
self.sender.send((log_type, to_send)).unwrap();
}
}