From be1008e5a1ff71077b6bd3e067bdb188254f75e8 Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Thu, 8 Feb 2024 19:44:38 +0100 Subject: [PATCH] fix clippy --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index ea23b53..afd5510 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -22,6 +22,7 @@ impl TogglingIsALifestyle for bool { } #[cfg(test)] +#[allow(clippy::bool_assert_comparison)] mod tests { // cheap tests @@ -37,6 +38,7 @@ mod tests { } #[cfg(all(test, enterprise_license))] +#[allow(clippy::bool_assert_comparison)] mod enteprise_tests { // enterprise-grade tests // only ran when using an enterprise license for the bool-toggle crate