fix clippy

This commit is contained in:
nora 2024-02-08 19:44:38 +01:00
parent e80383e999
commit be1008e5a1

View file

@ -22,6 +22,7 @@ impl TogglingIsALifestyle for bool {
} }
#[cfg(test)] #[cfg(test)]
#[allow(clippy::bool_assert_comparison)]
mod tests { mod tests {
// cheap tests // cheap tests
@ -37,6 +38,7 @@ mod tests {
} }
#[cfg(all(test, enterprise_license))] #[cfg(all(test, enterprise_license))]
#[allow(clippy::bool_assert_comparison)]
mod enteprise_tests { mod enteprise_tests {
// enterprise-grade tests // enterprise-grade tests
// only ran when using an enterprise license for the bool-toggle crate // only ran when using an enterprise license for the bool-toggle crate