Add #[cfg(not(tarpaullin_include))]

This commit is contained in:
SkyfallWasTaken 2024-07-30 09:51:19 +01:00
parent b590710152
commit e646347714

View file

@ -44,12 +44,14 @@ pub enum RepositoryVariant {
// serde :/
#[allow(clippy::trivially_copy_pass_by_ref)]
#[cfg(not(tarpaullin_include))]
#[inline(always)]
fn is_false(value: &bool) -> bool {
!value
}
#[inline(always)]
#[cfg(not(tarpaullin_include))]
const fn default_as_false() -> bool {
false
}