mirror of
https://github.com/Noratrieb/bool-toggle.git
synced 2026-01-14 12:25:01 +01:00
fix clippy
This commit is contained in:
parent
e80383e999
commit
be1008e5a1
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue