From b5d541a814a9a2b29ea39db42fd12799a2e42327 Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Wed, 29 Jan 2020 18:07:16 -0600 Subject: [PATCH] refactor/polish ~ inhibit useless warning (within 'tests/tests.rs') --- tests/tests.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/tests.rs b/tests/tests.rs index f74d8e326..d63cee442 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -1,6 +1,9 @@ #[macro_use] mod common; +// [warning fix]; from ref: +#[cfg_attr(feature = "cargo-clippy", allow(useless_attribute))] +#[allow(unused_imports)] #[cfg(unix)] #[macro_use] extern crate lazy_static;