From 35e3c51b75c659690276b74cb97fe684a5d34699 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Wed, 6 Jan 2021 22:09:22 +0100 Subject: [PATCH] Fix unused import warning --- tests/integration_tests.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index e2bd3339..aab2ca84 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -5,6 +5,8 @@ use std::fs::File; use std::path::Path; use std::process::{Command, Stdio}; use std::str::from_utf8; + +#[cfg(unix)] use std::time::Duration; const EXAMPLES_DIR: &str = "tests/examples";