From 887445331e8b32295a4704d61e2d3bb9ade6c14d Mon Sep 17 00:00:00 2001 From: nyyu Date: Mon, 1 Nov 2021 08:39:19 +0100 Subject: [PATCH] timer in sec --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index abbd4bc..e31a096 100644 --- a/src/main.rs +++ b/src/main.rs @@ -111,9 +111,9 @@ fn main() -> Result<(), Box> { let init = Instant::now(); execute_data_source(*data_source, &client, &champion, &lol_champs_dir); info!( - "{}: done in {} ms", + "{}: done in {}s", data_source.get_alias(), - init.elapsed().as_millis() + init.elapsed().as_secs_f32() ); }); Ok(())