mirror of
https://github.com/SkyfallWasTaken/dinopkg.git
synced 2024-11-10 07:09:39 +00:00
Add #[cfg(not(tarpaullin_include))]
This commit is contained in:
parent
b590710152
commit
e646347714
1 changed files with 2 additions and 0 deletions
|
@ -44,12 +44,14 @@ pub enum RepositoryVariant {
|
||||||
|
|
||||||
// serde :/
|
// serde :/
|
||||||
#[allow(clippy::trivially_copy_pass_by_ref)]
|
#[allow(clippy::trivially_copy_pass_by_ref)]
|
||||||
|
#[cfg(not(tarpaullin_include))]
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
fn is_false(value: &bool) -> bool {
|
fn is_false(value: &bool) -> bool {
|
||||||
!value
|
!value
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
|
#[cfg(not(tarpaullin_include))]
|
||||||
const fn default_as_false() -> bool {
|
const fn default_as_false() -> bool {
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue