mirror of
https://github.com/SkyfallWasTaken/dinopkg.git
synced 2024-11-22 01:03: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 :/
|
||||
#[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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue