Skip to content

Commit

Permalink
Fix "non_minimal_cfg" lint error
Browse files Browse the repository at this point in the history
Signed-off-by: Shawn T. Amundson <[email protected]>
  • Loading branch information
vaporos committed Jan 29, 2024
1 parent 6c0c699 commit 5be2cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsplinter/src/error/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl fmt::Debug for InternalError {
}
}

#[cfg(any(feature = "diesel"))]
#[cfg(feature = "diesel")]
impl From<diesel::result::Error> for InternalError {
fn from(err: diesel::result::Error) -> Self {
Self::from_source(Box::new(err))
Expand Down

0 comments on commit 5be2cf7

Please sign in to comment.