Skip to content

Commit

Permalink
remove unused rust attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
mxfactorial committed Nov 4, 2023
1 parent 253c28a commit 82262e9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion crates/types/src/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ impl AccountProfiles {
}

impl Default for AccountProfiles {
#[cfg(not(tarpaulin_include))]
fn default() -> Self {
Self::new()
}
Expand Down
2 changes: 0 additions & 2 deletions crates/types/src/account_role.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ impl<'a> FromSql<'a> for AccountRole {
}
}

#[cfg(not(tarpaulin_include))]
fn accepts(ty: &Type) -> bool {
*ty == Type::TEXT
}
Expand All @@ -44,7 +43,6 @@ impl ToSql for AccountRole {
}

#[allow(unused_variables)]
#[cfg(not(tarpaulin_include))]
fn accepts(ty: &Type) -> bool {
true
}
Expand Down
1 change: 0 additions & 1 deletion crates/types/src/rule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ impl FromIterator<RuleInstance> for RuleInstances {
}

impl Default for RuleInstances {
#[cfg(not(tarpaulin_include))]
fn default() -> Self {
Self::new()
}
Expand Down

0 comments on commit 82262e9

Please sign in to comment.