From e780fba2e50c7775c4623cf8b2b3528ee5f488bf Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 31 Jul 2021 10:27:51 +0200 Subject: [PATCH] fix a clippy warning --- src/uu/dd/src/dd.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/uu/dd/src/dd.rs b/src/uu/dd/src/dd.rs index faedb20eb..16c51a9fe 100644 --- a/src/uu/dd/src/dd.rs +++ b/src/uu/dd/src/dd.rs @@ -39,7 +39,9 @@ use std::os::unix::fs::OpenOptionsExt; use std::path::Path; #[cfg(target_os = "linux")] use std::sync::atomic::Ordering; -use std::sync::{atomic::AtomicUsize, mpsc, Arc}; +#[cfg(target_os = "linux")] +use std::sync::{atomic::AtomicUsize, Arc}; +use std::sync::mpsc, Arc; use std::thread; use std::time;