Skip to content

Commit

Permalink
fix(cosmic_config): is_err method conditions reversed
Browse files Browse the repository at this point in the history
  • Loading branch information
mmstick committed Feb 14, 2025
1 parent cd8f4ee commit 580db26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cosmic-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl Error {
///
/// Useful for determining if it is appropriate to log as an error.
pub fn is_err(&self) -> bool {
matches!(self, Self::NoConfigDirectory | Self::NotFound)
!matches!(self, Self::NoConfigDirectory | Self::NotFound)
}
}

Expand Down

0 comments on commit 580db26

Please sign in to comment.