From 8b0dd379629687ab98c2c042f2a4c62ed52040dc Mon Sep 17 00:00:00 2001 From: sharkdp Date: Sat, 4 Jan 2020 11:12:49 +0100 Subject: [PATCH] Fix warning on Windows --- src/hyperfine/timer/windows_timer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hyperfine/timer/windows_timer.rs b/src/hyperfine/timer/windows_timer.rs index b0ac1bf..6132855 100644 --- a/src/hyperfine/timer/windows_timer.rs +++ b/src/hyperfine/timer/windows_timer.rs @@ -13,7 +13,7 @@ use std::process::Child; const HUNDRED_NS_PER_MS: i64 = 10; -pub fn get_cpu_timer(process: &Child) -> Box> { +pub fn get_cpu_timer(process: &Child) -> Box> { Box::new(CPUTimer::start_for_process(process)) }