From a388c2e06edf48671d244e73777fb5f3be8c65bc Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 6 Jul 2024 06:50:29 +0000 Subject: [PATCH] allow clippy::enum_glob_use Signed-off-by: Jason Volk --- Cargo.toml | 1 + src/core/utils/time.rs | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 29454e60..f6b23102 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -741,6 +741,7 @@ cast_possible_truncation = { level = "allow", priority = 1 } cast_precision_loss = { level = "allow", priority = 1 } cast_sign_loss = { level = "allow", priority = 1 } doc_markdown = { level = "allow", priority = 1 } +enum_glob_use = { level = "allow", priority = 1 } error_impl_error = { level = "allow", priority = 1 } expect_used = { level = "allow", priority = 1 } if_not_else = { level = "allow", priority = 1 } diff --git a/src/core/utils/time.rs b/src/core/utils/time.rs index 39ceb3c3..2fe90b31 100644 --- a/src/core/utils/time.rs +++ b/src/core/utils/time.rs @@ -1,5 +1,3 @@ -#![allow(clippy::enum_glob_use)] - use std::time::{Duration, SystemTime, UNIX_EPOCH}; #[inline]