From d8dc106ac7a4ebf0b23641ea87eb1b72fe237a4b Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sun, 28 Apr 2024 23:14:54 +0700 Subject: [PATCH] masonry: Remove unnecessary clippy suppressions. (#232) --- crates/masonry/src/debug_logger.rs | 1 - crates/masonry/src/debug_values.rs | 1 - crates/masonry/src/lib.rs | 3 --- 3 files changed, 5 deletions(-) diff --git a/crates/masonry/src/debug_logger.rs b/crates/masonry/src/debug_logger.rs index 17c8130af..317d4aef9 100644 --- a/crates/masonry/src/debug_logger.rs +++ b/crates/masonry/src/debug_logger.rs @@ -2,7 +2,6 @@ // "as-is" basis without warranties of any kind. See the LICENSE file for // details. -#![allow(clippy::all)] #![allow(missing_docs)] use std::collections::HashMap; diff --git a/crates/masonry/src/debug_values.rs b/crates/masonry/src/debug_values.rs index 9db210f27..229158c5e 100644 --- a/crates/masonry/src/debug_values.rs +++ b/crates/masonry/src/debug_values.rs @@ -2,7 +2,6 @@ // "as-is" basis without warranties of any kind. See the LICENSE file for // details. -#![allow(clippy::all)] #![allow(missing_docs)] use std::collections::{HashMap, HashSet}; diff --git a/crates/masonry/src/lib.rs b/crates/masonry/src/lib.rs index 0996cebdb..602abed77 100644 --- a/crates/masonry/src/lib.rs +++ b/crates/masonry/src/lib.rs @@ -82,11 +82,8 @@ )] // #![warn(missing_docs)] #![warn(unused_imports)] -#![allow(clippy::new_ret_no_self)] -#![allow(clippy::needless_doctest_main)] #![allow(clippy::should_implement_trait)] #![allow(clippy::single_match)] -#![allow(clippy::bool_assert_comparison)] #![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(not(debug_assertions), allow(unused))]