From 56a5bf516b234ee153f9c5fbf66f3c6645ea1ecc Mon Sep 17 00:00:00 2001 From: clux Date: Fri, 22 Mar 2024 18:12:01 +0000 Subject: [PATCH] fix mixed attribute style on unused imports in tests.. Signed-off-by: clux --- kube-client/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kube-client/src/lib.rs b/kube-client/src/lib.rs index fac0dbe38..d91c73930 100644 --- a/kube-client/src/lib.rs +++ b/kube-client/src/lib.rs @@ -129,8 +129,8 @@ pub use kube_core as core; // Can be run with `cargo test -p kube-client --lib features=rustls-tls,ws -- --ignored` #[cfg(all(feature = "client", feature = "config"))] #[cfg(test)] +#[allow(unused_imports)] // varying test imports depending on feature mod test { - #![allow(unused_imports)] use crate::{ api::{AttachParams, AttachedProcess}, client::ConfigExt,