From 853f73b7c9b10074bbd39d2bff5f1a2e00ac3159 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 25 Dec 2023 11:05:55 +0100 Subject: [PATCH] tee test: fix a warning on not(linux) warning: unused import: `std::fmt::Write` --- tests/by-util/test_tee.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/by-util/test_tee.rs b/tests/by-util/test_tee.rs index 2b3fd2670..34076bbf9 100644 --- a/tests/by-util/test_tee.rs +++ b/tests/by-util/test_tee.rs @@ -3,6 +3,7 @@ // For the full copyright and license information, please view the LICENSE // file that was distributed with this source code. use crate::common::util::TestScenario; +#[cfg(target_os = "linux")] use std::fmt::Write; // tests for basic tee functionality.